fix manual queue invocation (was using the web argc/argv from the cli)

This commit is contained in:
zotlabs 2018-02-05 16:08:01 -08:00
parent 930e1fdbdc
commit b06c52553d

View File

@ -13,10 +13,10 @@ class Queue {
require_once('include/bbcode.php'); require_once('include/bbcode.php');
if(argc() > 1) if($argc > 1)
$queue_id = argv(1); $queue_id = $argv[1];
else else
$queue_id = 0; $queue_id = EMPTY_STR;
logger('queue: start'); logger('queue: start');