[freeside-commits] branch master updated. a8d6bba0ce532b16e102822825442491a59fc987
Ivan
ivan at 420.am
Sat Jan 18 17:20:21 PST 2014
The branch, master has been updated
via a8d6bba0ce532b16e102822825442491a59fc987 (commit)
from 40ae74719fe9c1dd0e1993888dc19f0a93257103 (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 a8d6bba0ce532b16e102822825442491a59fc987
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Jan 18 17:20:20 2014 -0800
fix PBX in a non-voip package, fallout from RT#16723
diff --git a/httemplate/view/svc_pbx.cgi b/httemplate/view/svc_pbx.cgi
index a1afeb2..ff0d285 100644
--- a/httemplate/view/svc_pbx.cgi
+++ b/httemplate/view/svc_pbx.cgi
@@ -41,7 +41,7 @@ my $html_foot = sub {
}
my $voip_pkg = @voip_pkgs[0];
- my $cdr_svc_method = $voip_pkg->option('cdr_svc_method')
+ my $cdr_svc_method = ( $voip_pkg && $voip_pkg->option('cdr_svc_method') )
|| 'svc_phone.phonenum';
return '' unless $cdr_svc_method =~ /^svc_pbx\.(.*)$/;
my $field = $1;
-----------------------------------------------------------------------
Summary of changes:
httemplate/view/svc_pbx.cgi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list