Skip to content

Commit

Permalink
Fix Bug #10011: date_submitted is not set properly in bug object
Browse files Browse the repository at this point in the history
  • Loading branch information
thraxisp committed Jan 3, 2009
1 parent 49aaea8 commit 3f3a6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/bug_api.php
Expand Up @@ -102,7 +102,7 @@ function bug_cache_database_result( $p_bug_datebase_result, $p_stats = null ) {
}

if( !is_int( $p_bug_datebase_result['date_submitted'] ) )
$p_bug_datebase_result['date_submitted'] = db_unixtimestamp( $p_bug_datebase_result['date_submitted']['date_submitted'] );
$p_bug_datebase_result['date_submitted'] = db_unixtimestamp( $p_bug_datebase_result['date_submitted'] );
if( !is_int( $p_bug_datebase_result['last_updated'] ) )
$p_bug_datebase_result['last_updated'] = db_unixtimestamp( $p_bug_datebase_result['last_updated'] );
$g_cache_bug[ $p_bug_datebase_result['id'] ] = $p_bug_datebase_result;
Expand Down

0 comments on commit 3f3a6c2

Please sign in to comment.