|
From: Benjamin C. <bc...@us...> - 2001-11-14 04:39:27
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv30279
Modified Files:
bug.php
Log Message:
Keep the prev|next working after updating a bug
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- bug.php 2001/11/14 04:11:02 1.59
+++ bug.php 2001/11/14 04:39:23 1.60
@@ -356,7 +356,7 @@
if ($changedfields or $comments) {
do_changedfields($u, $buginfo, $changedfields, $comments);
}
- header("Location: bug.php?op=show&bugid=$bugid");
+ header("Location: bug.php?op=show&bugid=$bugid&pos=$pos");
}
function do_form($bugid = 0) {
@@ -618,7 +618,8 @@
'developer_list' => build_select('owner'),
'prevlink' => $prevlink,
'nextlink' => $nextlink,
- 'prevnextsep' => $prevlink && $nextlink ? ' | ' : ''
+ 'prevnextsep' => $prevlink && $nextlink ? ' | ' : '',
+ 'pos' => $_gv['pos']
));
switch($row['status_name']) {
case 'Unconfirmed' :
|