Fix the php illegal offset warning when viewing alliance overview

This commit is contained in:
KFCSpike
2013-12-02 13:45:03 +00:00
parent 7b4fdac93d
commit 3450a61a96
+1 -1
View File
@@ -179,7 +179,7 @@
while(1) {
if(count($this->rankarray) > 1) {
$key = key($this->rankarray);
if($this->rankarray[$key]["id"] == $id) {
if(isset ($this->rankarray[$key]["id"]) && $this->rankarray[$key]["id"] === $id) {
return $key;
break;
} else {