Skip to content

Commit

Permalink
Added plugins folder + fixed some application errors and warnings.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4719 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Nov 4, 2007
1 parent 111bfea commit 0303010
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions core/plugin_api.php
Expand Up @@ -419,9 +419,11 @@ function plugin_init_all() {
$g_plugin_cache['mantis'] = array(
'name' => 'Mantis Bug Tracker',
'description' => 'Core plugin API for the Mantis Bug Tracker.',
'contact' => 'mantisbt-dev@lists.sourceforge.net',
'version' => MANTIS_VERSION,
'requires' => array(),
'author' => 'Mantis Team',
'page' => '',
'url' => 'http://www.mantisbt.org',
);

Expand Down
3 changes: 2 additions & 1 deletion core/version_api.php
Expand Up @@ -73,7 +73,7 @@ function version_cache_row( $p_version_id, $p_trigger_errors = true ) {
}

$row = db_fetch_array( $result );
// $row['date_order'] = db_unixtimestamp( $row['date_order'] );
$row['date_order'] = db_unixtimestamp( $row['date_order'] );
$g_cache_versions[$c_version_id] = $row;

return $row;
Expand Down Expand Up @@ -295,6 +295,7 @@ function version_get_all_rows( $p_project_id, $p_released = null ) {
$rows = array();
for ( $i = 0 ; $i < $count ; $i++ ) {
$row = db_fetch_array( $result );
$row['date_order'] = db_unixtimestamp( $row['date_order'] );
$rows[] = $row;
}
return $rows;
Expand Down

0 comments on commit 0303010

Please sign in to comment.