projects
/
catagits/Catalyst-Plugin-Authentication.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bug fixes and test from nilsonsfj - Cheers!
[catagits/Catalyst-Plugin-Authentication.git]
/
lib
/
Catalyst
/
Plugin
/
Authentication
/
User.pm
diff --git
a/lib/Catalyst/Plugin/Authentication/User.pm
b/lib/Catalyst/Plugin/Authentication/User.pm
index
efdd6e5
..
b12f848
100644
(file)
--- a/
lib/Catalyst/Plugin/Authentication/User.pm
+++ b/
lib/Catalyst/Plugin/Authentication/User.pm
@@
-49,7
+49,7
@@
sub get {
my ($self, $field) = @_;
my $object;
- if ($object = $self->get_object && $object->can($field)) {
+ if ($object = $self->get_object and $object->can($field)) {
return $object->$field();
} else {
return undef;