summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorchris <chris@jalakai.co.uk>2007-08-05 18:38:33 +0200
committerchris <chris@jalakai.co.uk>2007-08-05 18:38:33 +0200
commit2bb0d5419919bf72dd2338b331ea1a4c40ec6cbc (patch)
treed88d5665bb99afb169fd808ae524d47e3a13b95c /inc/template.php
parentb8595a660455f6778266779753c6238127664a28 (diff)
downloadrpg-2bb0d5419919bf72dd2338b331ea1a4c40ec6cbc.tar.gz
rpg-2bb0d5419919bf72dd2338b331ea1a4c40ec6cbc.tar.bz2
minor fixes for recent tpl_toc() patch
darcs-hash:20070805163833-9b6ab-82e8cd7ec37d163ccb552e3b6aee8c1f70e75f15.gz
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 196aedb4b..1d812cab3 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -158,7 +158,7 @@ function tpl_toc($return=false){
if(isset($meta['internal']['toc'])){
$tocok = $meta['internal']['toc'];
}else{
- $tokok = true;
+ $tocok = true;
}
$toc = $meta['description']['tableofcontents'];
if(!$tocok || !is_array($toc) || count($toc) < 3){