Closed (fixed)
Project:
Mollom
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2014 at 18:12 UTC
Updated:
4 Dec 2014 at 08:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
eshta commentedComment #3
eshta commentedBackporting...
Comment #4
eshta commentedComment #7
splash112 commentedHi All,
Thanks for the great work! Check my log files and seem to get some errors from D6 Mollom.
PHP Fatal error: Call to undefined function drupal_exit() in /sites/all/modules/mollom/mollom.module on line 1846
Think this patch added drupal_exit() to function mollom_fba_js(). As far as I can see drupal_exit() was introduced in Drupal 7, hence the error.
Sadly no idea how to fix...
Comment #8
eshta commentedHi there,
Thanks for reporting this. I think I found an appropriate way to handle this in D6. I followed the approach for D6 here: http://clikfocus.com/blog/simple-ajax-example-drupal-6-and-7
The patch is attached.
@splash112 Would love it if you could confirm before I commit it :-)
Comment #9
eshta commentedPatch applied to 6.x-2.x. Thanks for pointing this one out.
Comment #12
splash112 commented@eshta
Many thanks ! Sorry, away from d.o for a couple of weeks. Many thanks for the fix!