Skip to content
Browse files

Support booleans.

  • Loading branch information...
1 parent 9ca3edf commit 40628ccc9beaea894b4b0df9df55672f6c2eeebf @theory theory committed Jun 16, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 inst/upgrade/1.9.1/normalize_et_data.pl
View
4 inst/upgrade/1.9.1/normalize_et_data.pl
@@ -75,8 +75,8 @@
my %attrs;
my %ints = map { $_ => 1 } qw(cols rows length precision);
while (fetch($sel)) {
- $val = $val ? 1 : 0 if $attr_name eq 'multiple';
- $val ||= 0 if $ints{$attr_name};
+ $val = $val ? '1' : '0' if $attr_name eq 'multiple';
+ $val ||= '0' if $ints{$attr_name};
if ($aid == $last) {
$attrs{$attr_name} = $val;
next;

0 comments on commit 40628cc

Please sign in to comment.
Something went wrong with that request. Please try again.