mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
fix some php warnings
This commit is contained in:
parent
095f20a462
commit
9de4684d64
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user