Fixed bug where \TamerLib > tm > run() would return early even if the $timeout is set to 0.

This commit is contained in:
Netkas 2023-06-30 00:55:51 -04:00
parent bc91147557
commit 54bc954830
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
2 changed files with 8 additions and 1 deletions

View file

@ -740,7 +740,7 @@
return;
}
if((time() - $start_time) >= $timeout)
if($timeout > 0 && (time() - $start_time) >= $timeout)
{
return;
}