Skip to content
Permalink
Browse files

Cast value to integer

  • Loading branch information...
trasher committed Feb 7, 2019
1 parent cd04f1d commit 684d4fc423652ec7dde21cac4d41c2df53f56b3c
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/unlock_tasks.php
@@ -46,7 +46,7 @@
}
}
if (isset($_GET['cycle'])) {
$cycle = $_GET['cycle'];
$cycle = (int)$_GET['cycle'];
} else {
$cycle = 25;
}
@@ -84,4 +84,4 @@
Event::log($task['id'], 'Crontask', 5, 'Configuration', $message);
}
}
echo "Number of unlocked tasks : ".$unlocked_tasks."\n";
echo "Number of unlocked tasks : ".$unlocked_tasks."\n";

0 comments on commit 684d4fc

Please sign in to comment.
You can’t perform that action at this time.