aboutsummaryrefslogtreecommitdiff
path: root/src/team/run.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/team/run.php')
-rw-r--r--src/team/run.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/team/run.php b/src/team/run.php
index 10e7c76..32c0d25 100644
--- a/src/team/run.php
+++ b/src/team/run.php
@@ -291,7 +291,7 @@ $redo = TRUE;
if(!isset($_SESSION['forceredo']) || $_SESSION['forceredo']==false) {
$actualdelay = 15;
if(file_exists($runtmp)) {
- if(isset($strtmp) || (($strtmp = file_get_contents($runtmp,FALSE,NULL,-1,1000000)) !== FALSE)) {
+ if(isset($strtmp) || (($strtmp = file_get_contents($runtmp,FALSE,NULL,0,1000000)) !== FALSE)) {
list($d) = sscanf($strtmp,"%*s %d");
if($d > time() - $actualdelay) {
$conf=globalconf();