|
From: Benjamin C. <bc...@us...> - 2002-09-14 18:11:37
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv14870
Modified Files:
bug.php
Log Message:
Just reformatting to correct indentation. Please indent with tabs and make sure your editor isn't converting tabs to spaces on save.
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- bug.php 29 Jul 2002 12:07:46 -0000 1.114
+++ bug.php 14 Sep 2002 18:11:34 -0000 1.115
@@ -28,7 +28,7 @@
/// View the votes for a bug
function vote_view($bug_id) {
global $u, $db, $t, $STRING;
-
+
$t->assign('votes', $db->getAll('select login, v.created_date '.
'from '.TBL_AUTH_USER.' u, '.TBL_BUG_VOTE." v ".
"where u.user_id = v.user_id and bug_id = $bug_id ".
@@ -40,7 +40,7 @@
/// Add a vote to a bug to (possibly) promote it
function vote_bug($bug_id) {
[...1035 lines suppressed...]
}
if ($op) {
- switch($op) {
+ switch($op) {
case 'history':
show_history($_gv['bugid']);
break;
@@ -717,9 +717,9 @@
case 'viewvotes':
vote_view($_gv['bugid']);
break;
- }
+ }
} else {
- header("Location: query.php");
+ header("Location: query.php");
}
?>
|