summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorAdrian Lang <lang@cosmocode.de>2009-11-04 11:01:15 +0100
committerAdrian Lang <lang@cosmocode.de>2009-11-04 11:01:15 +0100
commitc66972f2cb89e65a8bbf8e39d42e8e479f7eb8dc (patch)
tree3d20030c333e987b42ff101ec339f2120f9f5883 /inc/html.php
parent1378fb56f6873b93fe002e8aed001e92857b5b5c (diff)
downloadrpg-c66972f2cb89e65a8bbf8e39d42e8e479f7eb8dc.tar.gz
rpg-c66972f2cb89e65a8bbf8e39d42e8e479f7eb8dc.tar.bz2
Emit less E_NOTICEs and E_STRICTs
Changes of behaviour are: * Allow the user name, title & description \e2\80\9c0\e2\80\9d * Default to Port 443 if using HTTPS * Set $INFO['isadmin'] and $INFO['ismanager'] to \e2\80\9cfalse\e2\80\9d even if no user is logged in * Do not pass empty fragment field in the event data for event ACTION_SHOW_REDIRECT * Handle chunked encoding in HTTPClient darcs-hash:20091104100115-e4919-5cf6397d4a457e3f98a8ca49fbdab03f2147721d.gz
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'];