alecpl
2012-02-29 38dc510b2dba02dba5a60fbc00947aac4fd24aab
- Fix warning when properties array is empty


1 files modified
2 ■■■ changed files
program/include/rcube_ldap.php 2 ●●● patch | view | raw | blame | history
program/include/rcube_ldap.php
@@ -95,7 +95,7 @@
            foreach ($p['fieldmap'] as $rf => $lf)
                $this->fieldmap[$rf] = $this->_attr_name(strtolower($lf));
        }
        else {
        else if (!empty($p)) {
            // read deprecated *_field properties to remain backwards compatible
            foreach ($p as $prop => $value)
                if (preg_match('/^(.+)_field$/', $prop, $matches))