[freeside-commits] branch FREESIDE_3_BRANCH updated. 5f731e5ee688ddc7b0c9825d693a2ead763bd792

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


The branch, FREESIDE_3_BRANCH has been updated
       via  5f731e5ee688ddc7b0c9825d693a2ead763bd792 (commit)
      from  53587d38364bb25653f7df08b2cf1a7468d43c1f (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 5f731e5ee688ddc7b0c9825d693a2ead763bd792
Author: Mark Wells <mark at freeside.biz>
Date:   Fri May 10 14:25:04 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