Permalink
Browse files

It's a string, stoopid!

  • Loading branch information...
1 parent 2185519 commit 8ed52f13b00d609f27d3af2b4363c3af383437e6 @theory theory committed Jun 16, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Bric/Biz/Site.pm
@@ -804,7 +804,7 @@ $get_em = sub {
} elsif ($k eq 'active') {
# Simple lookup by "active" boolean.
$wheres .= ' AND a.active = ?';
- push @params, $v ? 1 : 0;
+ push @params, $v ? '1' : '0';
} elsif ($k eq 'grp_id') {
# Look up by group membership.
$tables .= ", member m2, site_member c2";

0 comments on commit 8ed52f1

Please sign in to comment.