svn: /pear/packages/Bugtracker/trunk/www/ bug.php
| From: | Jani Taskinen | Date: | Thu, 04 Mar 2010 13:54:35 +0000 |
| Subject: | svn: /pear/packages/Bugtracker/trunk/www/ bug.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9259@lists.php.net to get a copy of this message | ||
jani Thu, 04 Mar 2010 13:54:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295821
Log:
- Nuke remainders from removed stuff
Changed paths:
U pear/packages/Bugtracker/trunk/www/bug.php
Modified: pear/packages/Bugtracker/trunk/www/bug.php
===================================================================
--- pear/packages/Bugtracker/trunk/www/bug.php 2010-03-04 12:52:58 UTC (rev 295820)
+++ pear/packages/Bugtracker/trunk/www/bug.php 2010-03-04 13:54:35 UTC (rev 295821)
@@ -141,7 +141,7 @@
}
// Handle any updates, displaying errors if there were any
-$RESOLVE_REASONS = $FIX_VARIATIONS = $pseudo_pkgs = $previous = $current = array();
+$RESOLVE_REASONS = $FIX_VARIATIONS = $pseudo_pkgs = array();
// Only fetch stuff when it's really needed
if ($edit && $edit < 3) {
@@ -443,9 +443,9 @@
$ncomment = '';
}
-if (isset($_POST['in']) && (!isset($_POST['preview']) &&
$ncomment || $previous != $current)) {
+if (isset($_POST['in']) && !isset($_POST['preview']) &&
$ncomment) {
if (!$errors) {
- mail_bug_updates($bug, $_POST['in'], $from, $ncomment, $edit, $bug_id, $previous,
$current);
+ mail_bug_updates($bug, $_POST['in'], $from, $ncomment, $edit, $bug_id);
redirect("bug.php?id=$bug_id&thanks=$edit");
exit;
}