fix have_options arguments
This commit is contained in:
@@ -59,8 +59,8 @@ class TwitterQueueHandler extends QueueHandler
|
||||
|
||||
}
|
||||
|
||||
if (have_option('-i')) {
|
||||
$id = get_option_value('-i');
|
||||
if (have_option('i')) {
|
||||
$id = get_option_value('i');
|
||||
} else if (have_option('--id')) {
|
||||
$id = get_option_value('--id');
|
||||
} else if (count($args) > 0) {
|
||||
|
Reference in New Issue
Block a user