Issue Bug Closed

#22468Function tslib_cObj::getTreeList() inserts records with empty PK

Dmitry Dulepov 04/15/10, 16:02 updated 08/12/10, 13:15

Description

If passed id is not numeric, the function will incorrectly insert a record to the database with an empty primary key. This happens because insert block is outside of the condition that checks the validity of the id.

(issue imported from #M14129)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.