1
0
Fork 0

remove unnecessary warning.

Without the $GLOBALS["___mysqli_ston"] being present the code would fail much earlier.
It doesn't make sense to check it only here.
Dieser Commit ist enthalten in:
Hannes Rosenögger 2016-02-01 20:30:30 +01:00
Ursprung a69b1db72b
Commit d4498f23c0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -185,7 +185,7 @@ function get_content($db,$table)
{
if (!isset($row[$j])) $insert.='NULL,';
else
if ($row[$j]!='') $insert.='\''.((isset($GLOBALS["___mysqli_ston"]) && is_object($GLOBALS["___mysqli_ston"])) ? mysqli_real_escape_string($GLOBALS["___mysqli_ston"], $row[$j]) : ((trigger_error("[MySQLConverterToo] Fix the mysql_escape_string() call! This code does not work.", E_USER_ERROR)) ? "" : "")).'\',';
if ($row[$j]!='') $insert.='\''. mysqli_real_escape_string($GLOBALS["___mysqli_ston"], $row[$j]) .'\',';
else
$insert.='\'\',';
}