|
From: Benjamin C. <bc...@us...> - 2004-09-04 20:40:05
|
Update of /cvsroot/phpbt/phpbt/templates/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17863/templates/default Modified Files: Tag: htmltemplates bugdisplay.html Log Message: Fixes from mufasa for undefined variables. Index: bugdisplay.html =================================================================== RCS file: /cvsroot/phpbt/phpbt/templates/default/bugdisplay.html,v retrieving revision 1.45.4.4 retrieving revision 1.45.4.5 diff -u -r1.45.4.4 -r1.45.4.5 --- bugdisplay.html 25 Feb 2004 12:39:11 -0000 1.45.4.4 +++ bugdisplay.html 4 Sep 2004 20:39:57 -0000 1.45.4.5 @@ -61,7 +61,7 @@ <input type="hidden" name="bugid" value="<?php echo $bug_id ?>"> <input type="hidden" name="projectid" value="<?php echo $project_id ?>"> <input type="hidden" name="last_modified_date" value="<?php echo $last_modified_date ?>"> - <input type="hidden" name="pos" value="<?php echo $_REQUEST['pos'] ?>"> + <input type="hidden" name="pos" value="<?php echo isset($_REQUEST['pos']) ? $_REQUEST['pos'] : ''; ?>"> <table border="0" width="100%"> <tr> <td>Bug <b>#<?php echo $bug_id ?></b> - <?php echo stripslashes($title) ?> - <a href="query.php"><?php echo translate("Return to bug list"); ?></a></td> @@ -169,7 +169,7 @@ <table border="0" cellpadding="2" cellspacing="0" width="100%"> <tr class="noprint"> <td valign="top"><?php echo translate("Additional comments"); ?>:<br><br> - <textarea name="comments" rows="6" cols="55" wrap="virtual" <?php echo $disabled ?>><?php echo $_POST['comments']; ?></textarea> + <textarea name="comments" rows="6" cols="55" wrap="virtual" <?php echo $disabled ?>><?php echo isset($_POST['comments']) ? $_POST['comments'] : ''; ?></textarea> <br><br> <div align="right"> <?php if (!empty($_SESSION['uid'])) { ?> |