Commit e149dd802bad682e1d8cce535aa308d7e3cf6662
1 parent
f3e5d8a3
customer update
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/app/backend/controllers/CustomersController.php
@@ -81,6 +81,7 @@ class CustomersController extends \Phalcon\Mvc\Controller | @@ -81,6 +81,7 @@ class CustomersController extends \Phalcon\Mvc\Controller | ||
81 | } | 81 | } |
82 | 82 | ||
83 | $current_email = $this->models->getCustomers()->getCustomerByEmail($data['email']); | 83 | $current_email = $this->models->getCustomers()->getCustomerByEmail($data['email']); |
84 | + $this->flash->error(var_dump($current_email)); | ||
84 | 85 | ||
85 | if( !empty( $data ) && !isset($current_email[0])) | 86 | if( !empty( $data ) && !isset($current_email[0])) |
86 | { | 87 | { |