Permalink
Browse files

small warning fix for bug fix #952 (broken add method in entry)

  • Loading branch information...
Jan Wagner
Jan Wagner committed Mar 9, 2004
1 parent 5b1651f commit 914e43db83ec97ea394054a0813ccf5b096e5d17
Showing with 1 addition and 1 deletion.
  1. +1 −1 LDAP/Entry.php
View
@@ -241,7 +241,7 @@ function add($attr = array())
$this->_attrs['count']++;
}
// Fix for bug #952
- if (false == is_array($this->_addAttrs[$k])) {
+ if (empty($this->_addAttrs[$k])) {
$this->_addAttrs[$k] = array();
}
if (false == is_array($v)) {

0 comments on commit 914e43d

Please sign in to comment.