Validation not bypassed correctly

electricmonk - August 18, 2009 - 11:16
Project:AHAH helper
Version:6.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

In line 172, there's an attempt to bypass validation by setting some flags and NULLing some handlers. However, in line 190 there's a call to drupal_rebuild_form() which kinds of render the previous attempt moot.

Attached is a patch which attempts to resolve this issue. I hope it doesn't ruin anything :)

AttachmentSize
ahah_helper.patch.txt1.6 KB
 
 

Drupal is a registered trademark of Dries Buytaert.