From 583840679c6840869b040e2939034f2090461f68 Mon Sep 17 00:00:00 2001 From: triath Date: Sat, 15 Aug 2015 14:50:25 +0200 Subject: [PATCH] Use standard function protect_page() in helpdesk.php To be consistent I think we should use the standard function protect_page() instead of a custom if statement in helpdesk.php so its the behaviour is the same as in other places. --- helpdesk.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/helpdesk.php b/helpdesk.php index 6580bc3..f2d03e1 100644 --- a/helpdesk.php +++ b/helpdesk.php @@ -1,8 +1,6 @@ 0) ? (int)$_GET['view'] : false; @@ -229,4 +227,4 @@ if ($view !== false) { } } include 'layout/overall/footer.php'; -?> \ No newline at end of file +?>