X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.class.php;h=c954a3ac95f35625531dc8f3fdc3435610195bf3;hp=c4dddb4efb3e85eed087f0348eb08441aa5bbdb4;hb=46969d30b2966f33b0529435a5840d5289996799;hpb=452d430a01e512eeb1b6d4c0f2caa89522ce748c
diff --git a/phpfspot.class.php b/phpfspot.class.php
index c4dddb4..c954a3a 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -309,7 +309,8 @@ class PHPFSPOT {
// +1 for for smarty's selection iteration
$rows++;
- //$images.= "cfg->thumb_width ."\" />
\n";
+ if(isset($_SESSION['searchfor']) && $_SESSION['searchfor'] != '')
+ $this->tmpl->assign('searchfor', $_SESSION['searchfor']);
$this->tmpl->assign('count', $count);
$this->tmpl->assign('width', $this->cfg->thumb_width);