aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-04-14 15:10:51 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-04-14 15:10:51 +0000
commit0562395c27cd6cafcaacd3798f6a51d8cc703c7a (patch)
tree1551918557e4038bd21137cf9fad11b10cbfba3c /phpBB/includes
parent8017db012b5249f2ed69e78629dc30772ffc6d24 (diff)
downloadforums-0562395c27cd6cafcaacd3798f6a51d8cc703c7a.tar
forums-0562395c27cd6cafcaacd3798f6a51d8cc703c7a.tar.gz
forums-0562395c27cd6cafcaacd3798f6a51d8cc703c7a.tar.bz2
forums-0562395c27cd6cafcaacd3798f6a51d8cc703c7a.tar.xz
forums-0562395c27cd6cafcaacd3798f6a51d8cc703c7a.zip
fixing a bug within the installer (displaying notices) and making sure the installer is using the error handler.
git-svn-id: file:///svn/phpbb/trunk@5783 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php
index 1af9720f43..82cddda071 100644
--- a/phpBB/includes/template.php
+++ b/phpBB/includes/template.php
@@ -69,7 +69,7 @@ class template
if (file_exists($phpbb_root_path . 'styles/' . $user->theme['template_path'] . '/template'))
{
- $this->root = $phpbb_root_path . 'styles/' . $user->theme['template_path']. '/template';
+ $this->root = $phpbb_root_path . 'styles/' . $user->theme['template_path'] . '/template';
$this->cachepath = $phpbb_root_path . 'cache/tpl_' . $user->theme['template_path'] . '_';
}
@@ -211,7 +211,7 @@ class template
return false;
}
- if ($user->theme['template_storedb'])
+ if (isset($user->theme['template_storedb']) && $user->theme['template_storedb'])
{
$sql = 'SELECT * FROM ' . STYLES_TPLDATA_TABLE . '
WHERE template_id = ' . $user->theme['template_id'] . "