r2427 discarded handling of $_REQUEST['message'] and $_REQUEST ['error']
authorDenis Yeldandi <dyeldandi@gmail.com>
Tue, 10 Feb 2009 11:02:51 +0000 (11:02 +0000)
committerDenis Yeldandi <dyeldandi@gmail.com>
Tue, 10 Feb 2009 11:02:51 +0000 (11:02 +0000)
inc/interface.php

index 83e2671942f1cc203ed6b95cbec14718ac9c5b7d..342ea9421b90833ca82d8a98a6a0e225f4b90c2c 100644 (file)
@@ -1072,11 +1072,7 @@ function renderRackMultiSelect ($sname, $racks, $selected)
 
 function showMessageOrError ()
 {
-       if (isset ($_REQUEST['message']))
-               echo "<div class=msg_success>${_REQUEST['message']}</div>";
-       elseif (isset ($_REQUEST['error']))
-               echo "<div class=msg_error>${_REQUEST['error']}</div>";
-       elseif (isset ($_SESSION['log']))
+       if (isset ($_SESSION['log']))
        {
                error_log(print_r($_SESSION['log'],1));
                printLog ($_SESSION['log']);