Skip to content

Commit

Permalink
Correção variavel do loop
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jul 9, 2015
1 parent 100c10e commit beea361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TibiaErig/spWhoisonline.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
class spWhoisonline {

static function getWhoisonline($worlds) {
$onlines = array();
foreach ($worlds as $world) {
$onlines = array();
$ch = curl_init();
$timeout = 0;
curl_setopt($ch, CURLOPT_URL, 'http://www.tibia.com/community/?subtopic=worlds&world='.$world);
Expand Down

0 comments on commit beea361

Please sign in to comment.