summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index bda9c88e4..0b53b4919 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1481,7 +1481,7 @@ function html_TOC($toc){
* Callback for html_buildlist
*/
function html_list_toc($item){
- if($item['hid']){
+ if(isset($item['hid'])){
$link = '#'.$item['hid'];
}else{
$link = $item['link'];