fix typo for session->warn
This commit is contained in:
parent
b8481248ea
commit
5f36fbb30f
1 changed files with 1 additions and 1 deletions
|
|
@ -462,7 +462,7 @@ sub profileField {
|
|||
$fieldName = shift;
|
||||
$value = shift;
|
||||
if (!exists $self->{_profile}{$fieldName} && !$self->session->db->quickArray("SELECT COUNT(*) FROM userProfileField WHERE fieldName = ?", [$fieldName])) {
|
||||
$self->session->warn("No such profile field: $fieldName");
|
||||
$self->session->errorHandler->warn("No such profile field: $fieldName");
|
||||
return undef;
|
||||
}
|
||||
if (defined $value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue