diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-05-28 22:36:21 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-09-26 17:29:12 -0700 |
| commit | 70999e67772fce6666191ec3fa95d9afb5f5b799 (patch) | |
| tree | f0916376e8cae451167089f0c8278e5ad7019cf9 | |
| parent | 7869fb435b3269128be4750556aa1a16bd3dfde3 (diff) | |
fix error viewing svc_broadband services, RT#23181, fallout from svc_cable, RT#22009
| -rw-r--r-- | httemplate/view/elements/svc_devices.html | 3 |
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> |
