Commit 50df338c66e1480f96fd337880b3bd50215e36cc
1 parent
91be65e5
add local config
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/lib/models/customers.php
| @@ -488,8 +488,8 @@ class customers extends \db | @@ -488,8 +488,8 @@ class customers extends \db | ||
| 488 | 488 | ||
| 489 | $this->getDi()->get('session')->set( 'isAuth', true ); | 489 | $this->getDi()->get('session')->set( 'isAuth', true ); |
| 490 | $this->getDi()->get('session')->set( 'id', $data_customer_id['0']['customer_id'] ); | 490 | $this->getDi()->get('session')->set( 'id', $data_customer_id['0']['customer_id'] ); |
| 491 | - $this->getDi()->get('session')->set( 'users_group_id', $data['0']['users_group_id'] ); | ||
| 492 | - $this->getDi()->get('session')->set( 'special_users_id', $data['0']['special_users_id'] ); | 491 | + $this->getDi()->get('session')->set( 'users_group_id', $data_customer_id['0']['users_group_id'] ); |
| 492 | + $this->getDi()->get('session')->set( 'special_users_id', $data_customer_id['0']['special_users_id'] ); | ||
| 493 | 493 | ||
| 494 | 494 | ||
| 495 | $result = 1; | 495 | $result = 1; |