[Tickets #938] Display error upon adding a contact

bugs at bugs.horde.org bugs at bugs.horde.org
Sat Dec 4 16:13:09 PST 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=938
-----------------------------------------------------------------------
 Ticket     | 938
 Updated By | mik at galaxie.net
 Summary    | Display error upon adding a contact
 Queue      | Turba
 Version    | 2.0-RC2
 State      | Unconfirmed
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


mik at galaxie.net (2004-12-04 16:13) wrote:

unified..
--- ./ObjectView.php    2004-11-17 21:36:41.000000000 +0100
+++ ./fixed/ObjectView.php    2004-12-05 00:28:19.000000000 +0100
@@ -108,7 +108,7 @@
                      * However, only do this on the display.php page. */
                     if (($attribute['type'] == 'email') &&
                         (basename($_SERVER['PHP_SELF']) == 'display.php'))
{
-                        $params = array(false, false, true,
(!empty($form->_vars['name'])) ? $form->_vars['name'] : null);
+                        $params = array(false, false, true,
(!empty($form->_vars->_vars['name'])) ? $form->_vars->_vars['name'] :
null);
                     }

                     $v = &$form->addVariable($attribute['label'], 'object['
. $field . ']', $attribute['type'], $attribute['required'], $readonly,
$desc, $params);





More information about the bugs mailing list