aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-13 11:38:53 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-13 11:38:53 +0500
commit4414e093d708159d2016ae0fe54087e9fd3cb9d1 (patch)
treed81708404e89294d2075737e9c50231c82a5165a /debug.xml
parent6a63cf732a11df1512071e3777e080627b878bc5 (diff)
downloadtrackermap-server-4414e093d708159d2016ae0fe54087e9fd3cb9d1.tar.gz
trackermap-server-4414e093d708159d2016ae0fe54087e9fd3cb9d1.tar.bz2
trackermap-server-4414e093d708159d2016ae0fe54087e9fd3cb9d1.zip
Fix user attributes saving
Diffstat (limited to 'debug.xml')
-rw-r--r--debug.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/debug.xml b/debug.xml
index 227ba7b73..02c2ec808 100644
--- a/debug.xml
+++ b/debug.xml
@@ -112,8 +112,8 @@
</entry>
<entry key='database.insertUser'>
- INSERT INTO users (name, email, hashedPassword, salt, admin, map, distanceUnit, speedUnit, latitude, longitude, zoom, twelveHourFormat)
- VALUES (:name, :email, :hashedPassword, :salt, :admin, :map, :distanceUnit, :speedUnit, :latitude, :longitude, :zoom, :twelveHourFormat);
+ INSERT INTO users (name, email, hashedPassword, salt, admin, map, distanceUnit, speedUnit, latitude, longitude, zoom, twelveHourFormat, attributes)
+ VALUES (:name, :email, :hashedPassword, :salt, :admin, :map, :distanceUnit, :speedUnit, :latitude, :longitude, :zoom, :twelveHourFormat, :attributes);
</entry>
<entry key='database.updateUser'>
@@ -127,7 +127,8 @@
latitude = :latitude,
longitude = :longitude,
zoom = :zoom,
- twelveHourFormat = :twelveHourFormat
+ twelveHourFormat = :twelveHourFormat,
+ attributes = :attributes
WHERE id = :id;
</entry>