[freeside-commits] branch master updated. 4d00bdc38de74723b1f577edec0490fcad747e18

Mark Wells mark at 420.am
Fri May 10 14:28:02 PDT 2013


The branch, master has been updated
       via  4d00bdc38de74723b1f577edec0490fcad747e18 (commit)
      from  4c07c048c76c1aa8fe0f7aa8e8de7243ba60d777 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4d00bdc38de74723b1f577edec0490fcad747e18
Author: Mark Wells <mark at freeside.biz>
Date:   Fri May 10 14:23:22 2013 -0700

    fix mostly-harmless warning

diff --git a/FS/FS/part_event/Condition.pm b/FS/FS/part_event/Condition.pm
index fc69f1d..60697c1 100644
--- a/FS/FS/part_event/Condition.pm
+++ b/FS/FS/part_event/Condition.pm
@@ -524,7 +524,7 @@ comparison to other integers is type-correct.
 sub condition_sql_option_integer {
   my ($class, $option, $driver_name) = @_;
 
-  my $integer = ($driver_name =~ /^mysql/) ? 'UNSIGNED INTEGER' : 'INTEGER';
+  my $integer = (driver_name() =~ /^mysql/) ? 'UNSIGNED INTEGER' : 'INTEGER';
 
   'CAST(
          COALESCE('. $class->condition_sql_option($option).

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_event/Condition.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list