6.0.0-beta1
9/22/25

[#6216] ULAFORM_BASE constant defined twice
Summary ULAFORM_BASE constant defined twice
Queue Ulaform
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester paul.g.roy (at) uottawa (dot) ca
Created 02/05/2008 (6439 days ago)
Due
Updated 02/05/2008 (6439 days ago)
Assigned
Resolved 02/05/2008 (6439 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/05/2008 09:42:26 PM Chuck Hagenbuch Comment #2
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Reply to this comment
Fixed in CVS, thanks.
02/05/2008 09:36:55 PM paul (dot) g (dot) roy (at) uottawa (dot) ca Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ ULAFORM_BASE constant defined twice
Queue ⇒ Ulaform
Reply to this comment
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


Saved Queries