From 2ec7183adb37f910f96b29ed148ca6ae2bc385b9 Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 1 Apr 2012 00:02:36 +0000 Subject: feature 2604: support rotation on derivatives git-svn-id: http://piwigo.org/svn/trunk@13843 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/dblayer/functions_mysql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/dblayer') diff --git a/include/dblayer/functions_mysql.inc.php b/include/dblayer/functions_mysql.inc.php index 65cb9fbd2..a7655e544 100644 --- a/include/dblayer/functions_mysql.inc.php +++ b/include/dblayer/functions_mysql.inc.php @@ -370,7 +370,7 @@ UPDATE '.$tablename.' { $separator = $is_first ? '' : ",\n "; - if (isset($value) and $value != '') + if (isset($value) and $value !== '') { $query.= $separator.$key.' = \''.$value.'\''; } -- cgit v1.2.3