small fix

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:27 +02:00
1 parent ba368be6b1
commit 812a4c0d81
1 file changed
+1 -1
+1 -1
View File
@@ -603,7 +603,7 @@ class KarmaPlugin implements CallbackListener, TimerListener, Plugin {
return;
}
if (count($this->mxKarma['votes'] == 0)) {
if (count($this->mxKarma['votes']) == 0) {
return;
}