Permalink
Browse files

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

  • Loading branch information...
1 parent 40f8b13 commit f02877fe8d62e49ba1f6e3ecbfbd87ab42f95a5d Chris Ridd committed May 6, 2003
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Net/LDAP/Entry.pm
View
@@ -310,7 +310,8 @@ sub asn {
}
sub changes {
- @{shift->{'changes'}}
+ my $ref = shift->{'changes'};
+ $ref ? @$ref : ();
}
1;

0 comments on commit f02877f

Please sign in to comment.