summaryrefslogtreecommitdiff
path: root/scripts/smsqueuehandler.php
diff options
context:
space:
mode:
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) {