MantisBT: master 19ba68dc

Author Committer Branch Timestamp Parent
Julian Fitzell master 2002-11-24 15:43 master 5080964f
Changeset
  • bug_api.php
    (bug_create):
    • move the check for empty fields below the variable cleaning so the cleaning code is all kept together
    • use new is_blank() helper function instead of empty()
      (bug_update):
    • use new is_blank() helper function instead of empty()
  • helper_api.php
    (is_blank): new function to be used instead of empty(). it actually works with "0" and does the trimming for you

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1623 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - core/bug_api.php Diff File
mod - core/helper_api.php Diff File