Skip to content

Commit

Permalink
fixed error in update code
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@661 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Jan 17, 2002
1 parent 251e2b4 commit 0e9965b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core_helper_API.php
Expand Up @@ -15,8 +15,8 @@
function bug_date_update( $p_bug_id ) {
global $g_mantis_bug_table;

$query = "UPDATE last_updated
FROM $g_mantis_bug_table
$query = "UPDATE $g_mantis_bug_table
SET last_updated=NOW()
WHERE id='$p_bug_id'";
$result = db_query( $query );
}
Expand All @@ -25,8 +25,8 @@ function bug_date_update( $p_bug_id ) {
function bugnote_date_update( $p_bugnote_id ) {
global $g_mantis_bugnote_table;

$query = "UPDATE last_modified
FROM $g_mantis_bugnote_table
$query = "UPDATE $g_mantis_bugnote_table
SET last_modified=NOW()
WHERE id='$p_bugnote_id'";
$result = db_query( $query );
}
Expand Down

0 comments on commit 0e9965b

Please sign in to comment.