fix auth requirement by checking for user when AUTH is on
This commit is contained in:
parent
47bac3a104
commit
74da3e9c02
|
@ -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'],
|
||||
|
|
Loading…
Reference in New Issue