Commit 48ae1f5b authored by Alex Peters's avatar Alex Peters
Browse files

correct RT::Date->Timezone argument error message

This method is not a setter.
parent f9744abf
......@@ -1124,7 +1124,7 @@ sub Timezone {
my $self = shift;
if (@_ == 0) {
Carp::carp "RT::Date->Timezone is a setter only";
Carp::carp 'RT::Date->Timezone requires a context argument';
return undef;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment