diff options
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php index 8906491ef..9fed619a8 100644 --- a/inc/html.php +++ b/inc/html.php @@ -623,6 +623,7 @@ function html_index($ns){ * @author Andreas Gohr <andi@splitbrain.org> */ function html_list_index($item){ + global $ID; $ret = ''; $base = ':'.$item['id']; $base = substr($base,strrpos($base,':')+1); @@ -1014,6 +1015,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed? if($wr){ if ($REV) print p_locale_xhtml('editrev'); print p_locale_xhtml($include); + $ro=false; }else{ // check pseudo action 'source' if(!actionOK('source')){ |