From 58927fc182d5c5f52f6b09a017d08a1e6860be81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sun, 15 Jul 2001 17:24:34 +0000 Subject: [PATCH] $sql_query wasn't defined if 'magic_quotes_gpc' was off. --- ldi_check.php3 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ldi_check.php3 b/ldi_check.php3 index 1b108ac2a..a8cc12aec 100755 --- a/ldi_check.php3 +++ b/ldi_check.php3 @@ -61,6 +61,8 @@ if (isset($btnLDI) && ($textfile != "none")) if(get_magic_quotes_gpc()) { $sql_query = addslashes($query); + } else { + $sql_query = $query; } include("./sql.php3"); }