]> andersk Git - sql-web.git/blobdiff - global.act.php
bug: dropping database outside the interface stops interface for all users
[sql-web.git] / global.act.php
index 1a9b64d6731d16c3454280a00d0fed254341f553..1a6a98d0e59db6284920bbc4ccd9970388c5d45c 100644 (file)
@@ -48,7 +48,9 @@ if (isOnline()) {
        }
 
        if (isPost() || isset($i_refresh)) {
-               checkQuotas($UserId);
+               if (!empty($UserId)) {
+                       checkQuotas($UserId);
+               }
                isset($i_refresh) && redirect('main');
        }
 
This page took 0.027363 seconds and 4 git commands to generate.