diff --git a/Source/SampQueryAPI.php b/Source/SampQueryAPI.php index db69fe0..264d980 100644 --- a/Source/SampQueryAPI.php +++ b/Source/SampQueryAPI.php @@ -279,7 +279,7 @@ public function getRules() fread($this->rSocket, 11); $iRuleCount = ord(fread($this->rSocket, 2)); - $aReturn = array(); + $aDetails = array(); for($iIndex = 0; $iIndex < $iRuleCount; ++$iIndex) {