fix auth requirement by checking for user when AUTH is on

This commit is contained in:
Isaac Connor 2014-12-11 17:09:18 -05:00
parent 47bac3a104
commit 74da3e9c02
1 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,11 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
if ( ZM_OPT_USE_AUTH && ! isset($user) ) {
$view = "error";
return;
}
$eventCounts = array(
array(
"title" => $SLANG['Events'],