Added graphic edit/add icons in lists with $editkey.
[fa-stable.git] / includes / session.inc
index fd343ecb5114ce280a4cdf73599406a8233fd5a6..6407e6e0e0a7b69acdb3ab20f2490264388d0a6c 100644 (file)
@@ -162,7 +162,7 @@ function check_page_security($page_security)
        
        if ($msg){
                display_error($msg);
-               end_page();
+               end_page(@$_REQUEST['popup']);
                kill_login();
                exit;
        }
@@ -174,7 +174,7 @@ function check_page_security($page_security)
                echo _("The security settings on your account do not permit you to access this function");
                echo "</b>";
                echo "<br><br><br><br></center>";
-               end_page();
+               end_page(@$_REQUEST['popup']);
                exit;
        }
        if (!$_SESSION['SysPrefs']->db_ok