r2705 - renderRackspace(): let upper layer call showMessageOrError()
[racktables] / index.php
index a9e0ef3914c5e4e8bfb968419003d9d38a824712..0716892a530aef2288e83b304e06bd881c8cba99 100644 (file)
--- a/index.php
+++ b/index.php
@@ -88,13 +88,20 @@ if (isset ($tabhandler[$pageno][$tabno]))
                                showError ('Dispatching error for bypass parameter', __FILE__);
                                break;
                }
+               showMessageOrError();
                $tabhandler[$pageno][$tabno] ($_REQUEST[$page[$pageno]['bypass']]);
        }
        else
+       {
+               showMessageOrError();
                $tabhandler[$pageno][$tabno] ();
+       }
 }
 elseif (isset ($page[$pageno]['handler']))
+{
+       showMessageOrError();
        $page[$pageno]['handler'] ($tabno);
+}
 else
        showError ("Failed to find handler for page '${pageno}', tab '${tabno}'", __FILE__);
 ?>