diff options
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r-- | Zotlabs/Daemon/Zotconvo.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Zotlabs/Daemon/Zotconvo.php b/Zotlabs/Daemon/Zotconvo.php index 3d6162473..16e7f113f 100644 --- a/Zotlabs/Daemon/Zotconvo.php +++ b/Zotlabs/Daemon/Zotconvo.php @@ -14,11 +14,12 @@ class Zotconvo { return; } - $channel_id = intval($argv[1]); $mid = $argv[2]; + if (!$mid) { + return; + } - $channel = channelx_by_n($channel_id); - + $channel = channelx_by_n(intval($argv[1])); if (!$channel) { return; } |