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