diff --git a/src/lib/models/customers.php b/src/lib/models/customers.php index 888e1d7..4f1b07e 100644 --- a/src/lib/models/customers.php +++ b/src/lib/models/customers.php @@ -488,8 +488,8 @@ class customers extends \db $this->getDi()->get('session')->set( 'isAuth', true ); $this->getDi()->get('session')->set( 'id', $data_customer_id['0']['customer_id'] ); - $this->getDi()->get('session')->set( 'users_group_id', $data['0']['users_group_id'] ); - $this->getDi()->get('session')->set( 'special_users_id', $data['0']['special_users_id'] ); + $this->getDi()->get('session')->set( 'users_group_id', $data_customer_id['0']['users_group_id'] ); + $this->getDi()->get('session')->set( 'special_users_id', $data_customer_id['0']['special_users_id'] ); $result = 1; -- libgit2 0.21.4