MantisBT: master-1.2.x 8c9038f7

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-12-06 10:57 master-1.2.x c8813734
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