Permalink
Browse files

merge r12009 from branch 2.2 to trunk

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/trunk@12010 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information...
plegall committed Aug 30, 2011
1 parent f8226de commit 9983af733615bfc359174f19d82ce7851247c0cd
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/dblayer/functions_mysql.inc.php
@@ -595,7 +595,7 @@ function pwg_db_concat_ws($array, $separator)
function pwg_db_cast_to_text($string)
{
return 'CAST('.$string.' AS CHAR)';
return $string;
}
/**

0 comments on commit 9983af7

Please sign in to comment.