fix some php warnings

This commit is contained in:
Uwe Steinmann 2013-06-07 15:26:47 +02:00
parent 095f20a462
commit 9de4684d64

View File

@ -50,7 +50,6 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
function show() { /* {{{ */ function show() { /* {{{ */
$dms = $this->params['dms']; $dms = $this->params['dms'];
$user = $this->params['user']; $user = $this->params['user'];
$folder = $this->params['folder'];
$fullsearch = $this->params['fullsearch']; $fullsearch = $this->params['fullsearch'];
$attrdefs = $this->params['attrdefs']; $attrdefs = $this->params['attrdefs'];
$allCats = $this->params['allcategories']; $allCats = $this->params['allcategories'];
@ -79,7 +78,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
$cachedir = $this->params['cachedir']; $cachedir = $this->params['cachedir'];
$this->htmlStartPage(getMLText("search_results")); $this->htmlStartPage(getMLText("search_results"));
$this->globalNavigation($folder); $this->globalNavigation();
$this->contentStart(); $this->contentStart();
$this->pageNavigation(getMLText("search_results"), ""); $this->pageNavigation(getMLText("search_results"), "");
@ -124,7 +123,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
</td> </td>
</tr> </tr>
<?php <?php
if($attrdefs) { if($attrdefs && $attributes) {
foreach($attrdefs as $attrdef) { foreach($attrdefs as $attrdef) {
?> ?>
<tr> <tr>