// Fixes "Notice: Undefined index: nb_results in"
added check for empty value
// better syntax
Merge pull request #940 from PhpMadman/bootstrap

// Fixes "Notice: Undefined index: nb_results in" when searching