Update of /cvsroot/mantisbt/mantisbt/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26067
Modified Files:
bug_api.php
Log Message:
Fix SQL Error introduced by last commit
Index: bug_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/bug_api.php,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- bug_api.php 12 Dec 2004 20:33:25 -0000 1.89
+++ bug_api.php 14 Dec 2004 15:34:11 -0000 1.90
@@ -112,7 +112,7 @@
return $row;
}
-
+
# --------------------
# Inject a bug into the bug cache
function bug_add_to_cache( $p_bug_row ) {
@@ -261,7 +261,7 @@
return true;
}
-
+
# --------------------
# Validate workflow state to see if bug can be moved to requested state
function bug_check_workflow( $p_bug_status, $p_wanted_status ) {
@@ -317,7 +317,7 @@
$c_steps_to_reproduce = db_prepare_string(
$p_bug_data->steps_to_reproduce );
$c_additional_info = db_prepare_string(
$p_bug_data->additional_information );
$c_sponsorship_total = 0;
- $c_sticky = 0;
+ $c_sticky = 0;
# Summary cannot be blank
if ( is_blank( $c_summary ) ) {
@@ -745,7 +745,7 @@
fixed_in_version='$c_bug_data->fixed_in_version',
view_state='$c_bug_data->view_state',
summary='$c_bug_data->summary',
-
sponsorship_total='$c_bug_data->sponsorship_total'
+
sponsorship_total='$c_bug_data->sponsorship_total',
sticky='$c_bug_data->sticky'
WHERE id='$c_bug_id'";
db_query( $query );
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|