From: <jfi...@us...> - 2002-09-16 06:53:10
|
Update of /cvsroot/mantisbt/mantisbt/core In directory usw-pr-cvs1:/tmp/cvs-serv3880/core Modified Files: project_api.php Log Message: * project_api.php (project_create): return the id of the new project Index: project_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/project_api.php,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- project_api.php 16 Sep 2002 02:36:33 -0000 1.14 +++ project_api.php 16 Sep 2002 06:53:06 -0000 1.15 @@ -180,8 +180,8 @@ db_query( $query ); - # db_query errors on failure so: - return true; + # return the id of the new project + return db_insert_id(); } # -------------------- # Delete a project |