[freeside-commits] branch FREESIDE_3_BRANCH updated. 81e56a1e8baf5e0f1522031736bfb392f1f0f5b9

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


The branch, FREESIDE_3_BRANCH has been updated
       via  81e56a1e8baf5e0f1522031736bfb392f1f0f5b9 (commit)
      from  b8144cab2a804b964d1a97164780e2ddc6ae60ec (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 81e56a1e8baf5e0f1522031736bfb392f1f0f5b9
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue May 28 22:36:21 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