MantisBT: master 08f126be

Author Committer Branch Timestamp Parent
Damien Regad Damien Regad master 2014-05-30 13:42 master b8a4d7c2
Changeset

Fix data type issues in plugin API

  • enabled and protected are boolean
  • priority is int

The type cast before assignment ensures we don't get type mismatch
errors in check_selected/check_checked functions, since DB api seems to
return these fields as strings.

mod - core/plugin_api.php Diff File
mod - core/print_api.php Diff File