MantisBT: master d0807051

Author Committer Branch Timestamp Parent
dregad dregad master 2012-12-06 10:57 master 53282ac6
Affected Issues  0015264: custom_field_get_id_from_name() broken since 1.2.12
Changeset

Fix custom_field_get_id_from_name() always returning false

Commit 6a7db3403d42cf58e8c5ebb50b60a7c090906c36 introduced an error in
the call to db_query_bound(), passing the param as a scalar value
instead of an array.

Thanks to user nimmich for noticing the issue and providing a patch.

Fixes 0015264

mod - core/custom_field_api.php Diff File