summaryrefslogtreecommitdiff
path: root/httemplate/view/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-05-28 22:36:21 -0700
committerIvan Kohler <ivan@freeside.biz>2013-05-28 22:36:21 -0700
commit81e56a1e8baf5e0f1522031736bfb392f1f0f5b9 (patch)
tree24136295b007379494c5bf3c6df5cf10b2f0acd5 /httemplate/view/elements
parentb8144cab2a804b964d1a97164780e2ddc6ae60ec (diff)
fix error viewing svc_broadband services, RT#23181, fallout from svc_cable, RT#22009
Diffstat (limited to 'httemplate/view/elements')
-rw-r--r--httemplate/view/elements/svc_devices.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/elements/svc_devices.html b/httemplate/view/elements/svc_devices.html
index 745eabd9d..9458c922c 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>