name collission with subform_element (theme_subform)

olio - May 7, 2007 - 13:00
Project:AHAH Forms Framework
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I've installed the very usefull subform_element module (from fago@drupal.org), but received a white screen as I activated the dynamic_subform module of ahah forms.
The php_error.log threw a "fatal error: Cannot redeclare theme_subform()."

For using both modules side-by-side, I think only line 209 in the dynamic_subform.module should be changed:

- function theme_subform($element) {
+ function theme_dynamic_subform($element) {

#1

starbow - May 7, 2007 - 18:00
Status:active» fixed

Thanks. The fix actually touches a couple of more lines, but it is pretty simple. I have updated -dev.

-t

#2

Anonymous - May 21, 2007 - 18:31
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.