Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • mahara mahara
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • maharamahara
  • maharamahara
  • Repository
Switch branch/tag
  • mahara
  • htdocs
  • admin
  • groups
  • groups.php
Find file BlameHistoryPermalink
  • Son Nguyen's avatar
    Fix the problem of searching for the string: '0' (Bug #1095834) · 054f4f8a
    Son Nguyen authored Jan 04, 2013
    
    
    Wrong use of the empty() function causes this problem.
     - !empty($query) must be replaced by isset($query) && ($query != '')
     - !empty($values['query']) replaced by isset($values['query']) &&
    ($values['query'] != '')
    
    Change-Id: I5dee9187f48fa3b3f1eeddd23bf29413bb6433c8
    Signed-off-by: default avatarSon Nguyen <son.nguyen@catalyst.net.nz>
    054f4f8a