Alex Savenko
/
semena
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
ed27c2af442f47a863635c434462aec8bdf73f98
Authored by
Alex Savenko
2016-12-29 13:08:45 +0200
1 parent
07e4c8e1
user update
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/lib/models/customers.php
Inline
Side-by-side
src/lib/models/customers.php
Wrap text
Show/Hide comments
View file @
ed27c2a
...
...
@@ -214,7 +214,7 @@ class customers extends \db
214
214
SET
215
215
name = :name,
216
216
email = :email,
217
-
passwd = :password,
217
+
'.(!empty($data['password']) ? 'passwd = :password,' : '' ).'
218
218
birth_date = :birth_date,
219
219
phone = :phone,
220
220
city = :city,
...
...