diff --git a/includes/lib_functions.php b/includes/lib_functions.php index 6b2f514232..c8084e53bd 100644 --- a/includes/lib_functions.php +++ b/includes/lib_functions.php @@ -39,7 +39,7 @@ $string = sqlite_escape_string($string); } else { - $string = str_replace("''","'",$string); + $string = str_replace("'","''",$string); } } if ($db_type == "pgsql") {