[turba] address type bug in addobject.php

Bo Daley bo at tilda.com.au
Wed Mar 12 11:42:40 PST 2003



If I try to add a new address book entry in turba using the new 'address'
attribute I get the following error:

Warning: Unknown variable type address

I guess there was just one line in addobject.php that was missed -- this patch
fixes it:


Index: addobject.php
===================================================================
RCS file: /repository/turba/addobject.php,v
retrieving revision 1.22
diff -u -r1.22 addobject.php
--- addobject.php       21 Feb 2003 04:10:06 -0000      1.22
+++ addobject.php       12 Mar 2003 00:53:44 -0000
@@ -26,7 +26,7 @@
 _useForms(array('ObjectForm',
                 'SelectSourceForm'));
 
-$RENDERER = &new Horde_Form_Renderer();
+$RENDERER = &new Turba_Renderer();
 $vars = &Horde_Form::getDefaultVars();
 
 $source = $vars->getVar('source');




More information about the turba mailing list