mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 18:31:37 +02:00
fixed sql error "argument of AND must be type boolean, not type integer"
This commit is contained in:
parent
203f24a282
commit
a481031a2d
@ -377,7 +377,7 @@ class asyncservice
|
|||||||
);
|
);
|
||||||
// as the async_next column is used as a semaphore we only update it,
|
// as the async_next column is used as a semaphore we only update it,
|
||||||
// if it is 0 (semaphore released) or older then 10min to recover from failed or crashed attempts
|
// if it is 0 (semaphore released) or older then 10min to recover from failed or crashed attempts
|
||||||
if ($exists) $where = array('async_next=0 OR async_next<'.time()-600);
|
if ($exists) $where = array('async_next=0 OR async_next<'.(time()-600));
|
||||||
}
|
}
|
||||||
//echo "last_run=<pre>"; print_r($last_run); echo "</pre>\n";
|
//echo "last_run=<pre>"; print_r($last_run); echo "</pre>\n";
|
||||||
return $this->write($last_run, !!$exists, $where) > 0;
|
return $this->write($last_run, !!$exists, $where) > 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user