[freeside-commits] branch master updated. cf5c051b077e618cf5fdc6f6a31b68b7d133a966

Ivan ivan at 420.am
Mon Feb 25 19:31:55 PST 2013


The branch, master has been updated
       via  cf5c051b077e618cf5fdc6f6a31b68b7d133a966 (commit)
      from  789d0834df90e8930145946705357083cec67fe3 (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 cf5c051b077e618cf5fdc6f6a31b68b7d133a966
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Feb 25 19:31:51 2013 -0800

    add domain and locale options to command-line phone number list, RT#21054

diff --git a/FS/bin/freeside-phonenum_list b/FS/bin/freeside-phonenum_list
index 8000565..aebe9d5 100755
--- a/FS/bin/freeside-phonenum_list
+++ b/FS/bin/freeside-phonenum_list
@@ -29,7 +29,7 @@ my @svc_phone = qsearch( FS::svc_phone->search(\%search) );
 foreach my $svc_phone (@svc_phone) {
   print $svc_phone->countrycode if $opt_c;
   print $svc_phone->phonenum;
-  print ','. $svc_phone->domain if $opt_o;
+  print '@'. $svc_phone->domain if $opt_o;
   if ( $opt_l ) {
     my $cust_pkg = $svc_phone->cust_svc->cust_pkg;
     print ','. ($cust_pkg && $cust_pkg->cust_main->locale || $default_locale);

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

Summary of changes:
 FS/bin/freeside-phonenum_list |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list