aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-28 20:29:55 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-28 20:29:55 +0000
commitcae3ae428edae0649893ea0568ca8237739496ea (patch)
tree6a6a0c0b11d5d8682ca2274d333ee664aba18718 /include
parent5a89acb4cbba0a56461107cf237c58ceb8e0c020 (diff)
feature 1502: In template extensions admin page, change "Bound template" by "Bound theme".
Template extensions are now attached to all themes if nothing is selected in "bound theme" column. git-svn-id: http://piwigo.org/svn/trunk@5434 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/template.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 7bb328ec2..2307d9fe2 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -223,7 +223,7 @@ class Template {
}
if ((stripos(implode('',array_keys($_GET)), '/'.$param) !== false or $param == 'N/A')
- and ($thm == $theme)
+ and ($thm == $theme or $thm == 'N/A')
and (!isset($this->extents[$handle]) or $overwrite)
and file_exists($dir . $filename))
{