Commit 84535f15 authored by bcosca's avatar bcosca
Browse files

Mutex operator precedence error (Issue #406)

parent 6e022dc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1309,7 +1309,7 @@ final class Base {
			filemtime($lock)+ini_get('max_execution_time')<microtime(TRUE))
			// Stale lock
			@unlink($lock);
		while (!$handle=@fopen($lock,'x') && !connection_aborted())
		while (!($handle=@fopen($lock,'x')) && !connection_aborted())
			usleep(mt_rand(0,100));
		$out=$this->call($func,$args);
		fclose($handle);