[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 2c658e088ee74f31c33ae5e22e54cbc81bbdfcc8

Mark Wells mark at 420.am
Fri Apr 5 12:09:08 PDT 2013


The branch, FREESIDE_2_3_BRANCH has been updated
       via  2c658e088ee74f31c33ae5e22e54cbc81bbdfcc8 (commit)
      from  804bcfa0ca42ec19595d0cf79d010e66a09a2109 (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 2c658e088ee74f31c33ae5e22e54cbc81bbdfcc8
Author: Mark Wells <mark at freeside.biz>
Date:   Fri Apr 5 12:08:40 2013 -0700

    fix SQL syntax error, fallout from #22034

diff --git a/FS/FS/svc_broadband.pm b/FS/FS/svc_broadband.pm
index cc30e16..83c55b6 100755
--- a/FS/FS/svc_broadband.pm
+++ b/FS/FS/svc_broadband.pm
@@ -277,7 +277,7 @@ sub search {
       ),
       'extra_sql' => $extra_sql,
       'addl_from' => $addl_from,
-      'order_by'  => "ORDER BY ".($params->{'order_by'} || 'svcnum'),
+      'order_by'  => ($params->{'order_by'} || 'ORDER BY svcnum'),
       'count_query' => $count_query,
     } );
 }

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

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




More information about the freeside-commits mailing list