[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-592-g4294f3a
Shawn Moore
sartak at bestpractical.com
Thu Aug 26 01:15:13 EDT 2010
The branch, 3.9-trunk has been updated
via 4294f3a1eef394ac63bb47b5baef6d3b2a506c69 (commit)
from 73442b8ff14dba576882b27fa7bd716fb009a996 (commit)
Summary of changes:
lib/RT/Date.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 4294f3a1eef394ac63bb47b5baef6d3b2a506c69
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Thu Aug 26 01:14:43 2010 -0400
Be slightly more forgiving of $date->Timezone()
diff --git a/lib/RT/Date.pm b/lib/RT/Date.pm
index 17be020..28bab0e 100755
--- a/lib/RT/Date.pm
+++ b/lib/RT/Date.pm
@@ -1026,7 +1026,8 @@ sub Timezone {
my $self = shift;
if (@_ == 0) {
- Carp::croak "RT::Date->Timezone is a setter only";
+ Carp::carp "RT::Date->Timezone is a setter only";
+ return undef;
}
my $context = lc(shift);
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list