svn: /pear/packages/Bugtracker/trunk/site/ bug.php
| From: | Jani Taskinen | Date: | Mon, 23 Nov 2009 13:17:36 +0000 |
| Subject: | svn: /pear/packages/Bugtracker/trunk/site/ bug.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9049@lists.php.net to get a copy of this message | ||
jani Mon, 23 Nov 2009 13:17:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291203
Log:
- Fixed problem with nested forms (Opera..)
Changed paths:
U pear/packages/Bugtracker/trunk/site/bug.php
Modified: pear/packages/Bugtracker/trunk/site/bug.php
===================================================================
--- pear/packages/Bugtracker/trunk/site/bug.php 2009-11-23 13:17:20 UTC (rev 291202)
+++ pear/packages/Bugtracker/trunk/site/bug.php 2009-11-23 13:17:36 UTC (rev 291203)
@@ -6,7 +6,7 @@
session_start();
// Handle preview
-if ($_REQUEST['id'] == 'preview') {
+if (isset($_REQUEST['id']) && $_REQUEST['id'] == 'preview') {
$bug_id = 'PREVIEW';
$bug = $_SESSION['bug_preview'];
$bug['submitted'] = time();
@@ -822,10 +822,8 @@
<tr>
<th class="details">Subscribe to this entry?</th>
<td class="form-input">
- <form name="subscribetobug" action="bug.php?id=<?php echo $bug_id;
?>" method="post">
- <input type="submit" name="subscribe_to_bug"
value="Subscribe" />
- <input type="submit" name="unsubscribe_to_bug"
value="Unsubscribe" />
- </form>
+ <input type="submit" name="subscribe_to_bug" value="Subscribe"
/>
+ <input type="submit" name="unsubscribe_to_bug"
value="Unsubscribe" />
</td>
</tr>
</table>