summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/enjitqueuehandler.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/enjitqueuehandler.php b/scripts/enjitqueuehandler.php
index 2418d2d1c..509134765 100755
--- a/scripts/enjitqueuehandler.php
+++ b/scripts/enjitqueuehandler.php
@@ -124,6 +124,8 @@ if (have_option('-i')) {
$id = get_option_value('-i');
} else if (have_option('--id')) {
$id = get_option_value('--id');
+} else if (count($args) > 0) {
+ $id = $args[0];
} else {
$id = null;
}