small bug in last commit fixed
authorchriskl <chriskl>
Sat, 14 Feb 2004 11:13:12 +0000 (11:13 +0000)
committerchriskl <chriskl>
Sat, 14 Feb 2004 11:13:12 +0000 (11:13 +0000)
HISTORY
sql.php

diff --git a/HISTORY b/HISTORY
index 7d5cd73525c61c69b7878a2e605a7acd5d4db7c2..438eee2413f741f8d1c0ef3d6f87fdca8e1c9e6a 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -25,6 +25,7 @@ Bugs
 * Properly detect that reports database is missing
 * Fix for alter column on PostgreSQL 7.1
 * phpPgAdmin now works without '.' in the include_path
+* Can now remove expire dates on user accounts
 
 Translations
 * Spanish from Martin Marques
diff --git a/sql.php b/sql.php
index 195709f3037724d3c007ad51e2884b49061b4ad2..3672225e437a59d26250f5bea6156984e7907758 100644 (file)
--- a/sql.php
+++ b/sql.php
@@ -6,7 +6,7 @@
         * how many SQL statements have been strung together with semi-colons
         * @param $query The SQL query string to execute
         *
-        * $Id: sql.php,v 1.16 2004/02/14 04:21:02 chriskl Exp $
+        * $Id: sql.php,v 1.17 2004/02/14 11:13:13 chriskl Exp $
         */
 
        // Include application functions
 
        // Determine explain version of SQL
        if ($data->hasFullExplain() && isset($_POST['explain']) && isset($_POST['query'])) {
-               $_POST['query'] = $data->getExplainSQL($_POST['query'], false)
+               $_POST['query'] = $data->getExplainSQL($_POST['query'], false);
+               $_REQUEST['query'] = $_POST['query'];
        }
        elseif ($data->hasFullExplain() && isset($_POST['explain_analyze']) && isset($_POST['query'])) {
-               $_POST['query'] = $data->getExplainSQL($_POST['query'], true)
+               $_POST['query'] = $data->getExplainSQL($_POST['query'], true);
+               $_REQUEST['query'] = $_POST['query'];
        }
        
        // Check to see if pagination has been specified.  In that case, send to display