Ticket #6651: patch.diff

File patch.diff, 1.1 KB (added by jeff@…, 17 years ago)

Patch

  • comments.py

     
    8080        "Helper function"
    8181        return Comment(None, self.get_user_id(), new_data["content_type_id"],
    8282            new_data["object_id"], new_data.get("headline", "").strip(),
    83             new_data["comment"].strip(), new_data.get("rating1", None),
     83            new_data["comment"], new_data.get("rating1", None),
    8484            new_data.get("rating2", None), new_data.get("rating3", None),
    8585            new_data.get("rating4", None), new_data.get("rating5", None),
    8686            new_data.get("rating6", None), new_data.get("rating7", None),
     
    136136    def get_comment(self, new_data):
    137137        "Helper function"
    138138        return FreeComment(None, new_data["content_type_id"],
    139             new_data["object_id"], new_data["comment"].strip(),
     139            new_data["object_id"], new_data["comment"],
    140140            new_data["person_name"].strip(), datetime.datetime.now(), new_data["is_public"],
    141141            new_data["ip_address"], False, settings.SITE_ID)
    142142
Back to Top