bug 2416 fixed: the CAST function in MySQL seems to return unexpected results,

depending on MySQL version. As a consequence it was producing virtual years in
calendar display.


git-svn-id: http://piwigo.org/svn/branches/2.2@12009 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2011-08-30 08:47:22 +00:00
parent 4ebc3b85b7
commit 3cee724741
+1 -1
View File
@@ -488,7 +488,7 @@ function pwg_db_concat_ws($array, $separator)
function pwg_db_cast_to_text($string)
{
return 'CAST('.$string.' AS CHAR)';
return $string;
}
/**