diff options
Diffstat (limited to 'httemplate')
-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> |