X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Felements%2Fsvc_devices.html;h=9458c922c58d80a328a7ff0f8c9f08afb4521416;hb=ac272d7302249e13fbf07084087ae642059d63a0;hp=745eabd9dd2007aa852ede3d6146791ac426953f;hpb=8f8283f365995ff83040ee6b62920dd0149c1eac;p=freeside.git 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() + : ();