Skip to content

Commit

Permalink
Fixed PHP 5.4 compatibility. v1.11 release
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzy76 committed Jul 3, 2015
1 parent fbbf821 commit 5c3c513
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qstat_
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#---------------------------------------------------------------#
# CHANGELOG
#
# v1.11 (3. july 2015)
# - Fixed PHP 5.4 compatibility (thanks to hannes)
#
# v1.1 (23. april 2010)
# - Added highest ping, lowest ping and query response time.
# - Now supports being run for testing with ./ in front
Expand Down Expand Up @@ -75,7 +78,7 @@ function doFetch() {
if ($gametype && $ip && $port) {

$time_start = microtime(true);
exec("$qstatloc -raw \";\" -nh -P -$gametype $ip:$port", &$output);
exec("$qstatloc -raw \";\" -nh -P -$gametype $ip:$port", $output);
$time_end = microtime(true);
$querytime = ($time_end - $time_start) * 1000;

Expand Down

0 comments on commit 5c3c513

Please sign in to comment.