From 4414e093d708159d2016ae0fe54087e9fd3cb9d1 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 13 Jul 2016 11:38:53 +0500 Subject: Fix user attributes saving --- debug.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'debug.xml') diff --git a/debug.xml b/debug.xml index 227ba7b73..02c2ec808 100644 --- a/debug.xml +++ b/debug.xml @@ -112,8 +112,8 @@ - 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); @@ -127,7 +127,8 @@ latitude = :latitude, longitude = :longitude, zoom = :zoom, - twelveHourFormat = :twelveHourFormat + twelveHourFormat = :twelveHourFormat, + attributes = :attributes WHERE id = :id; -- cgit v1.2.3