fix have_options arguments

This commit is contained in:
Evan Prodromou
2009-06-22 16:48:04 -07:00
parent 010d168aaa
commit 3fc2cfb7f8
8 changed files with 27 additions and 27 deletions

View File

@@ -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) {