summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-05-12 08:03:25 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-05-12 08:03:25 +0200
commit94b3b6259391b0d2f206c792974b6ff53a70aa63 (patch)
tree9b2b0159aa1dfe3d0d541ba093ed5c1b3ac9e09c /phpfspot.class.php
parent3d867f5190b42114820df35143a46c8bc8521404 (diff)
issue118, fix using variable name for search.tpl and photo_index.tpl twice
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index f64e9ff..00b3af4 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -311,8 +311,8 @@ class PHPFSPOT {
$this->tmpl->assign('date_search_enabled', true);
$this->tmpl->register_function("sort_select_list", array(&$this, "smarty_sort_select_list"), false);
- $this->tmpl->assign('from_date', $this->get_calendar('from'));
- $this->tmpl->assign('to_date', $this->get_calendar('to'));
+ $this->tmpl->assign('search_from_date', $this->get_calendar('from'));
+ $this->tmpl->assign('search_to_date', $this->get_calendar('to'));
$this->tmpl->assign('preset_selected_tags', $this->getSelectedTags());
$this->tmpl->assign('preset_available_tags', $this->getAvailableTags());