summaryrefslogtreecommitdiff
path: root/scripts/smsqueuehandler.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/smsqueuehandler.php
parent010d168aaa908073d03be66259042f921dfb861e (diff)
fix have_options arguments
Diffstat (limited to 'scripts/smsqueuehandler.php')
-rwxr-xr-xscripts/smsqueuehandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/smsqueuehandler.php b/scripts/smsqueuehandler.php
index c793ee550..94b846d98 100755
--- a/scripts/smsqueuehandler.php
+++ b/scripts/smsqueuehandler.php
@@ -58,8 +58,8 @@ class SmsQueueHandler 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) {