Skip to content

Commit

Permalink
fixed Bug#289
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/Net_LDAP/trunk@144822 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Jan Wagner committed Nov 24, 2003
1 parent 1396fff commit 82b4efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LDAP/Entry.php
Expand Up @@ -399,7 +399,7 @@ function delete($attrs = array())

if ($this->exists ($k)) {
// if v is a null, then remove the whole attribute, else only the value.
if ($v = '') {
if ($v == '') {
unset($this->_attrs[$k]);
$this->_delAttrs[$k] = "";
// else we remove only the correct value.
Expand Down

0 comments on commit 82b4efd

Please sign in to comment.