Merge pull request #19795 from owncloud/fix-language-level-compat

Remove arbitrary expression in empty
remotes/origin/dropbox-use-clientmtime
Thomas Müller 10 years ago
commit f50f78dd9b
  1. 5
      apps/user_ldap/lib/configuration.php

@ -150,8 +150,9 @@ class Configuration {
$setMethod = 'setRawValue';
break;
case 'homeFolderNamingRule':
if(!empty(trim($val)) && strpos($val, 'attr:') === false) {
$val = 'attr:'.trim($val);
$trimmedVal = trim($val);
if(!empty($trimmedVal) && strpos($val, 'attr:') === false) {
$val = 'attr:'.$trimmedVal;
}
break;
case 'ldapBase':

Loading…
Cancel
Save