From: Robert Treat Date: Sat, 13 Sep 2008 06:26:58 +0000 (-0400) Subject: upon further review, I think we need some protection here X-Git-Tag: r1~2 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=77fb4f46c675b23e189f06ead11d35d1921a3b64;p=phppgadmin.git upon further review, I think we need some protection here --- diff --git a/database.php b/database.php index e150f84d..7ee241c9 100755 --- a/database.php +++ b/database.php @@ -853,6 +853,8 @@ global $data, $misc; global $lang; + if (!isset($_SESSION['sqlquery'])) $_SESSION['sqlquery'] = ''; + $misc->printTrail('database'); $misc->printTabs('database','sql'); echo "

{$lang['strentersql']}

\n";