Swapped arguments in call to _cleantalk_ct_result

Created on 26 November 2024, 27 days ago

It seems that the arguments for the 'allow' flag and request ID in a call to _cleantalk_ct_result have been swapped on line 700 of CleantalkFuncs.php. A bit further down on lines 721-726, the order is correct.

I have not tested this, but my guess would be that this does currently not actually cause trouble, as the stored data is only used here: cleantalk.module:409 and as long as the stored request ID is never '0', everything will work fine.

🐛 Bug report
Status

Active

Version

9.5

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024