[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 442c5884030e6429a0e22701068ea087488cbab6

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


The branch, FREESIDE_2_3_BRANCH has been updated
       via  442c5884030e6429a0e22701068ea087488cbab6 (commit)
      from  96528846ba030e43a45d0787140be865f7783698 (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 442c5884030e6429a0e22701068ea087488cbab6
Author: Mark Wells <mark at freeside.biz>
Date:   Fri May 10 14:25:58 2013 -0700

    fix mostly-harmless warning

diff --git a/FS/FS/part_event/Condition.pm b/FS/FS/part_event/Condition.pm
index 64a4d5b..2a399c4 100644
--- a/FS/FS/part_event/Condition.pm
+++ b/FS/FS/part_event/Condition.pm
@@ -508,7 +508,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