Skip to content

Loading…

Fixes small bug in passing 'max' option to run.php #81

Merged
merged 1 commit into from

2 participants

@thousandsofthem
Iron.io member

Fixes small bug in passing 'max' option to run.php

@paddyforan paddyforan merged commit 366afb4 into gh-pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 _includes/worker/start/first-worker/php/run.md
View
2 _includes/worker/start/first-worker/php/run.md
@@ -2,7 +2,7 @@
<?php
require("IronWorker.class.php");
$opts = getopt("", array("max:"));
-if($opts['max'] != null) {
+if($opts['max'] == null) {
$max = 100000;
} else {
$max = $opts['max'];
Something went wrong with that request. Please try again.