From 50df338c66e1480f96fd337880b3bd50215e36cc Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Thu, 12 Jan 2017 12:21:50 +0200 Subject: [PATCH] add local config --- src/lib/models/customers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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