summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php
index f5c502f4..318cfa1c 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -105,7 +105,7 @@
}
function rebuildTheme($action) {
- global $config;
+ global $config, $_theme;
$query = query("SELECT `value` AS `theme` FROM `theme_settings` WHERE `name` = 'theme'") or error(db_error());
if($theme = $query->fetch()) {
@@ -976,7 +976,7 @@
}
}
- function quote($body) {
+ function quote($body, $quote=true) {
$body = str_replace('<br/>', "\n", $body);
$body = strip_tags($body);