[freeside-commits] branch master updated. ac272d7302249e13fbf07084087ae642059d63a0

Ivan ivan at 420.am
Tue May 28 22:36:21 PDT 2013


The branch, master has been updated
       via  ac272d7302249e13fbf07084087ae642059d63a0 (commit)
      from  8f8283f365995ff83040ee6b62920dd0149c1eac (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 ac272d7302249e13fbf07084087ae642059d63a0
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue May 28 22:36:19 2013 -0700

    fix error viewing svc_broadband services, RT#23181, fallout from svc_cable, RT#22009

diff --git a/httemplate/view/elements/svc_devices.html b/httemplate/view/elements/svc_devices.html
index 745eabd..9458c92 100644
--- a/httemplate/view/elements/svc_devices.html
+++ b/httemplate/view/elements/svc_devices.html
@@ -94,6 +94,7 @@ if ( $table eq 'phone_device' || $table eq 'cable_device' ) {
 }
 
 my @devices = $svc_x->isa('FS::device_Common') ? $svc_x->device_objects()
-                                               : $svc_x->$table();
+                                               : $table ? $svc_x->$table()
+                                                        : ();
 
 </%init>

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

Summary of changes:
 httemplate/view/elements/svc_devices.html |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list