Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changes now returns an empty array if there were no changes.

  • Loading branch information...
commit f02877fe8d62e49ba1f6e3ecbfbd87ab42f95a5d 1 parent 40f8b13
Chris Ridd authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/Net/LDAP/Entry.pm
View
3  lib/Net/LDAP/Entry.pm
@@ -310,7 +310,8 @@ sub asn {
}
sub changes {
- @{shift->{'changes'}}
+ my $ref = shift->{'changes'};
+ $ref ? @$ref : ();
}
1;
Please sign in to comment.
Something went wrong with that request. Please try again.