MantisBT: master d3d5ddcf

Author Committer Branch Timestamp Parent
dregad dregad master 2017-05-20 05:31:40 master b7f337de
Affected Issues 0022904: database_api: db_insert_id returns string not int (mssql)
Changeset

Make sure db_insert_id() always returns an int

db_result() returns a string in some cases. Typecasting the return
value to int ensures we comply with the PHPDoc.

Fixes 0022904

mod - core/database_api.php Diff File