small fix

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:30 +02:00
1 parent 7c4a038722
commit 734619e744
1 file changed
+1 -1
+1 -1
View File
@@ -209,10 +209,10 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
public function addVoteMenuItem(Control $control, $order = 0, $description = null) {
if (!isset($this->voteMenuItems[$order])) {
$this->voteMenuItems[$order] = array();
}
array_push($this->voteMenuItems[$order], array($control, $description));
krsort($this->voteMenuItems);
}
}
/**
* Chat Vote