From 50f9241c14b77ccabd7f4c4a7d0ac49fa387e22b Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 29 Mar 2016 15:38:53 -0400 Subject: [PATCH] When no Id is specified, default to ZM_DIR_EVENTS --- web/includes/Storage.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/includes/Storage.php b/web/includes/Storage.php index 1820b977d..4143d0585 100644 --- a/web/includes/Storage.php +++ b/web/includes/Storage.php @@ -26,6 +26,8 @@ class Storage { public function Path() { if ( isset( $this->{'Path'} ) and ( $this->{'Path'} != '' ) ) { return $this->{'Path'}; + } else if ( ! $this->{'Id'} ) { + return ZM_DIR_EVENTS; } return $this->{'Name'}; }