[Tickets #1793] NEW: Undefined variable in data.php

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Apr 14 10:11:02 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1793
-----------------------------------------------------------------------
 Ticket             | 1793
 Created By         | sbeitzel at pobox.com
 Summary            | Undefined variable in data.php
 Queue              | Nag
 Version            | 2.0.1
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


sbeitzel at pobox.com (2005-04-14 10:11) wrote:

At line 102 in data.php there is an if block. Inside this block, the
variable $next_step gets defined. However, there is no 'else' block -- so if
the condition is not met, then $next_step is never defined.

Immediately after this block, on line 117, we test to see if $next_step is
an array. If at that point it is undefined (because of an error), you get
complaints from PHP showing up on the task list page.




More information about the bugs mailing list