]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/action.py
Added a direct option to mark a post as community wiki, still needs some sort of...
[osqa.git] / forum / models / action.py
index d892ac92658099b1a3f50a4ee63482076a7cff54..7f9a7c189acf73817d9f64d72969b919ace2e072 100644 (file)
@@ -123,7 +123,7 @@ class Action(BaseModel):
         super(Action, self).save(*args, **kwargs)\r
 \r
         if isnew:\r
-            if (self.node is None) or (not self.node.wiki):\r
+            if (self.node is None) or (not self.node.nis.wiki):\r
                 self.repute_users()\r
             self.process_action()\r
             self.trigger_hooks(True)\r