[Tickets #6216] ULAFORM_BASE constant defined twice

bugs at horde.org bugs at horde.org
Tue Feb 5 21:36:55 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/?id=6216
-----------------------------------------------------------------------
 Ticket             | 6216
 Created By         | paul.g.roy at uottawa.ca
 Summary            | ULAFORM_BASE constant defined twice
 Queue              | Ulaform
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
-----------------------------------------------------------------------


paul.g.roy at uottawa.ca (2008-02-05 16:36) wrote:

The ULAFORM_BASE constant is defined in several files including:
ulaform/index.php
ulaform/forms.php

but the one in ulaform/forms.php is not wrapped in an IF statement so it
triggers a warning in phperrors.log

in forms.php, this line
11: if (!defined('ULAFORM_BASE')) { 

should be replaced with

11: if (!defined('ULAFORM_BASE')) {
12:     define('ULAFORM_BASE', dirname(__FILE__));
13: }

Versions:
- Pulled from CVS on Feb 5
- Horde 4.0
ulaform/index.php,v 1.19 2008/01/10
ulaform/forms.php,v 1.28 2008/01/10




More information about the bugs mailing list