mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
gui fixes
This commit is contained in:
@ -24,7 +24,7 @@ class ControllerCustomerRemove extends Controller {
|
||||
$this->data['username'] = Registry::get('username');
|
||||
|
||||
$this->data['id'] = $this->request->get['id'];
|
||||
$this->data['domain'] = $this->request->get['domain'];
|
||||
$this->data['domain'] = $this->request->get['name'];
|
||||
$this->data['confirmed'] = (int)$this->request->get['confirmed'];
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ class ControllerCustomerRemove extends Controller {
|
||||
$this->error['admin'] = $this->data['text_you_are_not_admin'];
|
||||
}
|
||||
|
||||
if(!isset($this->request->get['domain']) || strlen($this->request->get['domain']) < 1) {
|
||||
if(!isset($this->request->get['name']) || strlen($this->request->get['name']) < 1) {
|
||||
$this->error['domain'] = $this->data['text_invalid_data'];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user