micro fix

pull/61/head
Christophe Vandeplas 2012-01-05 11:00:22 +01:00
parent b4966bc154
commit eaaef2d7c8
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class SignaturesController extends AppController {
function search($keyword = null) {
if (!$keyword && !$this->data['Signature']['keyword']) {
if (!$keyword && !isset($this->data['Signature']['keyword'])) {
// no search keyword is given, show the search form
} else {
if (!$keyword) $keyword = $this->data['Signature']['keyword'];