fix notice in searchaction
This commit is contained in:
parent
a76099c59b
commit
d5bf7e5cfb
|
@ -79,10 +79,11 @@ class SearchAction extends Action
|
|||
|
||||
function showTop($arr=null)
|
||||
{
|
||||
$error = null;
|
||||
if ($arr) {
|
||||
$error = $arr[1];
|
||||
}
|
||||
if ($error) {
|
||||
if (!empty($error)) {
|
||||
$this->element('p', 'error', $error);
|
||||
} else {
|
||||
$instr = $this->getInstructions();
|
||||
|
|
Loading…
Reference in New Issue
Block a user