projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f8283f
)
fix error viewing svc_broadband services, RT#23181, fallout from svc_cable, RT#22009
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 29 May 2013 05:36:19 +0000
(22:36 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 29 May 2013 05:36:19 +0000
(22:36 -0700)
httemplate/view/elements/svc_devices.html
patch
|
blob
|
history
diff --git
a/httemplate/view/elements/svc_devices.html
b/httemplate/view/elements/svc_devices.html
index
745eabd
..
9458c92
100644
(file)
--- 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>