From e09158697121e9994c24d304e6e409705ee58302 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 8 Aug 2001 19:58:06 +0000 Subject: [PATCH] display problem after a Select --- ChangeLog | 1 + sql.php3 | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 90a72c133..57f322be4 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2001-08-08 Marc Delisle * tbl_change.php3, enum values were not displayed + * sql.php3, bug of strange display after a Select 2001-08-08 Olivier Müller * new script create-release.sh diff --git a/sql.php3 b/sql.php3 index 16bc3034c..9947c4f12 100755 --- a/sql.php3 +++ b/sql.php3 @@ -8,6 +8,9 @@ require('./grab_globals.inc.php3'); require('./lib.inc.php3'); +if (get_magic_quotes_gpc()) { + $sql_query = stripslashes($sql_query); +} /** * Bookmark add