aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share/Helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Share/Helper.php')
-rw-r--r--lib/private/Share/Helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share/Helper.php b/lib/private/Share/Helper.php
index 1574bd726cf..a3b8da44c4c 100644
--- a/lib/private/Share/Helper.php
+++ b/lib/private/Share/Helper.php
@@ -213,7 +213,7 @@ class Helper extends \OC\Share\Constants {
} else {
$expires = $userExpireDate;
}
- } else if ($defaultExpires && !empty($defaultExpireSettings['enforceExpireDate'])) {
+ } elseif ($defaultExpires && !empty($defaultExpireSettings['enforceExpireDate'])) {
$expires = $defaultExpires;
}