summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-06-16 11:29:18 +0200
committerczaks <marcin@6irc.net>2014-06-16 11:29:18 +0200
commit8a189e2380829aa952d9edae5a2e3e2dc5b7ccff (patch)
tree4895dd3a3d51bc0f9a88ae2709545ad66a1db93d
parenta4dc0d03b75b92155d6c2573278c16d5c781af1c (diff)
fix upgrade path a little bit with a new catalog
-rw-r--r--templates/themes/catalog/theme.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php
index 0a95c8df..c6679f7c 100644
--- a/templates/themes/catalog/theme.php
+++ b/templates/themes/catalog/theme.php
@@ -50,7 +50,7 @@
if ($files[0]->file == 'deleted') continue;
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
- if ($settings['use_tooltipster']) {
+ if (isset($settings['use_tooltipster']) && $settings['use_tooltipster']) {
$post['muhdifference'] = ago(time() - $post['time']);
if ($post['last_reply'])
@@ -60,7 +60,7 @@
$recent_posts[] = $post;
}
- $required_scripts = array('js/jquery.mixitup.min.js', 'js/jquery.tooltipster.min.js', 'js/catalog.js');
+ $required_scripts = array('js/jquery.min.js', 'js/jquery.mixitup.min.js', 'js/jquery.tooltipster.min.js', 'js/catalog.js');
foreach($required_scripts as $i => $s) {
if (!in_array($s, $config['additional_javascript']))