Skip to content

Commit 89a897f

Browse files
authored
Merge pull request #1076 from whitevast/patch-6
Update common.class.php
2 parents 5e2b352 + e0d891c commit 89a897f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ function deleteScheduledJob($id)
260260
* @param mixed $timeout Timeout
261261
* @return mixed
262262
*/
263-
function setTimeOut($title, $commands, $timeout)
263+
function setTimeOut($title, $commands, $timeout = 0)
264264
{
265265
startMeasure('setTimeout');
266266
$res = addScheduledJob($title, $commands, time() + $timeout);

0 commit comments

Comments
 (0)