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:
Ursprung
a69b1db72b
Commit
d4498f23c0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -185,7 +185,7 @@ function get_content($db,$table)
|
||||||
{
|
{
|
||||||
if (!isset($row[$j])) $insert.='NULL,';
|
if (!isset($row[$j])) $insert.='NULL,';
|
||||||
else
|
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
|
else
|
||||||
$insert.='\'\',';
|
$insert.='\'\',';
|
||||||
}
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren