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 e74cddb0d..dbc66d503 100644
--- a/include/dblayer/functions_mysql.inc.php
+++ b/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;
}
/**