[Jifty-commit] jifty-dbi branch, master, updated. 0.60-23-g2369f31
Jifty commits
jifty-commit at lists.jifty.org
Thu Jun 24 02:07:52 EDT 2010
The branch, master has been updated
via 2369f312f8b1f97c5b7209baebe88a829c26e1b9 (commit)
from 30214d525f2469ea17f7a00afc99da982331c75d (commit)
Summary of changes:
lib/Jifty/DBI/Record/Memcached.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 2369f312f8b1f97c5b7209baebe88a829c26e1b9
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Jun 24 02:09:01 2010 -0400
It is a rare but possible case that 0 is a valid id
diff --git a/lib/Jifty/DBI/Record/Memcached.pm b/lib/Jifty/DBI/Record/Memcached.pm
index ada7c3e..7a28c28 100755
--- a/lib/Jifty/DBI/Record/Memcached.pm
+++ b/lib/Jifty/DBI/Record/Memcached.pm
@@ -229,7 +229,7 @@ sub _gen_load_by_cols_key {
sub _primary_cache_key {
my ($self) = @_;
- return undef unless ( $self->id );
+ return undef unless ( defined $self->id );
unless ( $self->{'_jifty_cache_pkey'} ) {
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list