From 5df8e7c0b5e0e7fb6ca505e8c944df513f28962f Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 5 Jan 2012 11:26:58 +1300 Subject: [PATCH] Fix missing braces around admin restriction. --- htdocs/tools.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/tools.php b/htdocs/tools.php index e73a31ea..58c1fe0c 100644 --- a/htdocs/tools.php +++ b/htdocs/tools.php @@ -20,9 +20,9 @@ require_once("classBrowser.php"); require_once("caldav-PUT-functions.php"); include_once('check_UTF8.php'); -if ( !$session->AllowedTo("Admin" ) ) +if ( !$session->AllowedTo("Admin" ) ) { @ob_flush(); exit(0); - +} if( function_exists("sync_LDAP") && isset($_POST['Sync_LDAP'])){ sync_LDAP(); }