Closed (fixed)
Project:
Mollom
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Jun 2009 at 16:48 UTC
Updated:
13 Aug 2009 at 19:50 UTC
Jump to comment: Most recent file
Notice: Undefined index: reputation in /f5/phpwtf/public/sites/all/modules/mollom/mollom.module on line 335. when posting a comment.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 496560.patch | 3.41 KB | dave reid |
Comments
Comment #1
dave reidAny other information about what you were doing? What kind of comment?
Looking through the Mollom specification it looks like the response doesn't have to contain that value, but it would probably be good to kind of clean up the logic in those structures. For instance:
Instead of
isset($GLOBALS['mollom_response']) && isset($GLOBALS['mollom_response']['session_id'])we can just do:
isset($GLOBALS['mollom_response']['session_id'])I also tried add the the 'merge default values' code in mollom_validate_analysis() but it led to one failure in the Fallback SimpleTests. Moving the code to mollom_set_data() worked perfectly.
Comment #2
dave reidComment #3
dave reidCommited to CVS.