aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/dblayer/functions_mysql.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dblayer/functions_mysql.inc.php b/include/dblayer/functions_mysql.inc.php
index 7a163af7c..fb55cbb08 100644
--- a/include/dblayer/functions_mysql.inc.php
+++ b/include/dblayer/functions_mysql.inc.php
@@ -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;
}
/**