MantisBT: master 90d3d4db

Author Committer Branch Timestamp Parent
dhx dhx master 2010-01-16 22:00 master e1d134e7
Affected Issues  0010818: SYSTEM WARNING: in_array() [function.in-array]: Wrong datatype for second argument
Changeset

Fix 0010818: MetaColumnNames ADOdb function may return bool value

The MetaColumnNames ADOdb function doesn't always return an array - it
could return a boolean value of false as well. Therefore before using
the result of a call to MetaColumnNames, we must first check that we've
got a valid array. ADOdb documentation of course doesn't mention this.

mod - manage_user_page.php Diff File
mod - core/database_api.php Diff File