Commit d6f81e13 authored by Mario's avatar Mario
Browse files

make sure to return if we have no xchan here

parent 58ee1476
Pipeline #448388 passed with stage
in 4 minutes and 28 seconds
......@@ -272,6 +272,9 @@ function mark_orphan_hubsxchans() {
function remove_all_xchan_resources($xchan, $channel_id = 0) {
if(!$xchan)
return;
if(intval($channel_id)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment