summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod.php b/mod.php
index 2a2eec5b..e87755e1 100644
--- a/mod.php
+++ b/mod.php
@@ -320,10 +320,10 @@
sprintf($config['file_page'], $post['thread']) . '#' . $match[1]
: sprintf($config['file_page'], $match[1])) .
'">$0</a>', $log['text']);
-
- if($config['cache']['enabled'])
- cache::set($log_id, $log['text']);
}
+
+ if($config['cache']['enabled'])
+ cache::set($log_id, $log['text']);
}
}
}