From 8e77abcf163a9951bdfd288effa8d0c3fa907155 Mon Sep 17 00:00:00 2001
From: Garvin Hicking <mail@garv.in>
Date: Wed, 26 May 2010 13:46:48 +0000
Subject: [PATCH]     * Fix karma rating plugin missing the text translation
 for a       specific point area

---
 docs/NEWS                                                   | 3 +++
 plugins/serendipity_event_karma/serendipity_event_karma.php | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/NEWS b/docs/NEWS
index 277b4c0c..b9ae060f 100644
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,9 @@
 Version 1.6 ()
 ------------------------------------------------------------------------
 
+    * Fix karma rating plugin missing the text translation for a 
+      specific point area
+      
     * Recent entry properties now recognizes multilingual titles
     
     * Include referrer in comment notification email (konus)
diff --git a/plugins/serendipity_event_karma/serendipity_event_karma.php b/plugins/serendipity_event_karma/serendipity_event_karma.php
index 78f02610..6ebba6ce 100644
--- a/plugins/serendipity_event_karma/serendipity_event_karma.php
+++ b/plugins/serendipity_event_karma/serendipity_event_karma.php
@@ -54,7 +54,7 @@ class serendipity_event_karma extends serendipity_event
         $propbag->add('description',   PLUGIN_KARMA_BLAHBLAH);
         $propbag->add('stackable',     false);
         $propbag->add('author',        'Garvin Hicking, Grischa Brockhaus, Gregor V�ltz, Judebert');
-        $propbag->add('version',       '2.3');
+        $propbag->add('version',       '2.4');
         $propbag->add('requirements',  array(
             'serendipity' => '0.8',
             'smarty'      => '2.6.7',
@@ -1991,6 +1991,7 @@ function invertSelection() {
             } elseif ($rating <= -0.5) {
                 $rating = PLUGIN_KARMA_VOTEPOINT_2;
             } elseif ($rating <= 0.5) {
+                $rating = PLUGIN_KARMA_VOTEPOINT_3;
             } elseif ($rating <= 1.5) {
                 $rating = PLUGIN_KARMA_VOTEPOINT_4;
             } else {