From 9b3b996286c6fad5f98cd425bf779f1106da5f83 Mon Sep 17 00:00:00 2001 From: SJ Date: Fri, 27 Apr 2012 22:57:43 +0200 Subject: [PATCH] minor webui cosmetic fixes --- webui/controller/search/helper.php | 2 +- webui/view/theme/default/templates/search/helper.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webui/controller/search/helper.php b/webui/controller/search/helper.php index f3e632a1..1d2edbc4 100644 --- a/webui/controller/search/helper.php +++ b/webui/controller/search/helper.php @@ -70,7 +70,7 @@ class ControllerSearchHelper extends Controller { } if($this->a['ref']) { $this->data['_ref'] = $this->a['ref']; } - if($this->request->post['ref']) { $this->data['_ref'] = $this->request->post['ref']; } + if(isset($this->request->post['ref']) && $this->request->post['ref']) { $this->data['_ref'] = $this->request->post['ref']; } /* paging info */ diff --git a/webui/view/theme/default/templates/search/helper.tpl b/webui/view/theme/default/templates/search/helper.tpl index 3b1ca868..9ed58853 100644 --- a/webui/view/theme/default/templates/search/helper.tpl +++ b/webui/view/theme/default/templates/search/helper.tpl @@ -18,7 +18,7 @@ 0){ ?>
style="margin-left: 265px;"> - + :