You are here

function finder_empty_keyword in Finder 6

Same name and namespace in other branches
  1. 7 finder.module \finder_empty_keyword()

Callback for array_filter to remove empty keywords.

1 string reference to 'finder_empty_keyword'
finder_find_query in ./finder.module
Build basic finder query arrays.

File

./finder.module, line 1765
The finder module.

Code

function finder_empty_keyword($keyword) {
  if ($keyword !== '' && $keyword !== NULL) {
    return TRUE;
  }
  return FALSE;
}