Merge pull request #785 from laf/login-debug

Stopped logging being output if user not logged in
This commit is contained in:
Daniel Preussker
2015-04-12 15:34:50 +00:00
+1 -1
View File
@@ -338,7 +338,7 @@ toastr.options.extendedTimeOut = 20;
echo("</script>");
}
if (is_array($sql_debug) && is_array($php_debug)) {
if (is_array($sql_debug) && is_array($php_debug) && $_SESSION['authenticated'] === TRUE) {
include_once "includes/print-debug.php";