small fix

This commit is contained in:
kremsy 2014-02-23 23:53:21 +01:00 committed by Steffen Schröder
parent ba368be6b1
commit 812a4c0d81

View File

@ -603,7 +603,7 @@ class KarmaPlugin implements CallbackListener, TimerListener, Plugin {
return; return;
} }
if (count($this->mxKarma['votes'] == 0)) { if (count($this->mxKarma['votes']) == 0) {
return; return;
} }