summaryrefslogtreecommitdiff
path: root/scripts/twitterqueuehandler.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-22 16:48:04 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-22 16:48:04 -0700
commit3fc2cfb7f81cca483be7255e20245c8fea2fe0d8 (patch)
treea6cc0881b4b6af69523fb88822f145c1ce7e02d9 /scripts/twitterqueuehandler.php
parent010d168aaa908073d03be66259042f921dfb861e (diff)
fix have_options arguments
Diffstat (limited to 'scripts/twitterqueuehandler.php')
-rwxr-xr-xscripts/twitterqueuehandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/twitterqueuehandler.php b/scripts/twitterqueuehandler.php
index 826e12c75..00e735d98 100755
--- a/scripts/twitterqueuehandler.php
+++ b/scripts/twitterqueuehandler.php
@@ -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) {