Commit 1909ad5d9fbca9cacd7acb69c418280806ad4a43

Authored by Alex Savenko
1 parent e14ff6a3

customer update

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/backend/controllers/CustomersController.php
... ... @@ -81,7 +81,7 @@ class CustomersController extends \Phalcon\Mvc\Controller
81 81 }
82 82  
83 83  
84   - if( !empty( $data ) && !isset($this->models->getCustomers()->getCustomerByEmail($data['email'])['0']) )
  84 + if( !isset($this->models->getCustomers()->getCustomerByEmail($data['email'])['0']) )
85 85 {
86 86 if( $this->models->getCustomers()->UpdateData( $data, $id ) )
87 87 {
... ...