Stopped logging being output if user not logged in

This commit is contained in:
laf
2015-04-12 16:27:55 +01:00
parent 6e1e7308b5
commit 325deafdd8

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";