projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a347c
)
Simplify
author
Jan Schneider
<jan@horde.org>
Mon, 20 Sep 2010 16:58:11 +0000
(18:58 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 20 Sep 2010 16:58:11 +0000
(18:58 +0200)
framework/Ldap/lib/Horde/Ldap/Entry.php
patch
|
blob
|
history
diff --git
a/framework/Ldap/lib/Horde/Ldap/Entry.php
b/framework/Ldap/lib/Horde/Ldap/Entry.php
index
0dcca6b
..
dc7eeeb
100644
(file)
--- a/
framework/Ldap/lib/Horde/Ldap/Entry.php
+++ b/
framework/Ldap/lib/Horde/Ldap/Entry.php
@@
-729,10
+729,7
@@
class Horde_Ldap_Entry
protected function _getAttrName($attr)
{
$name = Horde_String::lower($attr);
- if (array_key_exists($name, $this->_map)) {
- $attr = $this->_map[$name];
- }
- return $attr;
+ return isset($this->_map[$name]) ? $this->_map[$name] : $attr;
}
/**