From 8f4e7540aebfb2e787b8154036dff7b38c71aef2 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 11 Jan 2016 16:43:15 +0100 Subject: [PATCH] pgsql fix --- system/qq/SYS_LOCALE_SET_LOCALE.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/qq/SYS_LOCALE_SET_LOCALE.php b/system/qq/SYS_LOCALE_SET_LOCALE.php index 4de21e4..3894a63 100644 --- a/system/qq/SYS_LOCALE_SET_LOCALE.php +++ b/system/qq/SYS_LOCALE_SET_LOCALE.php @@ -2,7 +2,7 @@ namespace SYSTEM\SQL; class SYS_LOCALE_SET_LOCALE extends \SYSTEM\DB\QP { public static function get_class(){return \get_class();} - public static function pqsql(){return + public static function pgsql(){return 'UPDATE '.\SYSTEM\SQL\system_user::NAME_PG. ' SET '.\SYSTEM\SQL\system_user::FIELD_LOCALE.' = $1'. ' WHERE '.\SYSTEM\SQL\system_user::FIELD_ID.' = $2;';