Commit fc254b87ca9b2b24b3bb9fa24f1c5b2dad4f9b19
1 parent
6c46b094
user update
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/lib/models/customers.php
... | ... | @@ -243,7 +243,7 @@ class customers extends \db |
243 | 243 | 'comments' => $data['comments'], |
244 | 244 | 'status' => $data['status'], |
245 | 245 | 'users_group_id' => $data['users_group_id'], |
246 | - 'special_users_id' => $data['special_users_id'] == '7' ? null : $data['special_users_id'], | |
246 | + 'special_users_id' => ($data['special_users_id'] == 7 ? null : $data['special_users_id']), | |
247 | 247 | "id" => $id |
248 | 248 | ] |
249 | 249 | ); | ... | ... |