summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2009-11-02 11:46:43 +0100
committerAndreas Gohr <gohr@cosmocode.de>2009-11-02 11:46:43 +0100
commit5808bc5485ac98b967e5912db9cdde0cc2fb6ac0 (patch)
tree290d1f25f98ece8accd8bfb8846486dfb524fb68 /inc/html.php
parent4ca2a94b8a53d4447736824f1d228ad20aeea06f (diff)
downloadrpg-5808bc5485ac98b967e5912db9cdde0cc2fb6ac0.tar.gz
rpg-5808bc5485ac98b967e5912db9cdde0cc2fb6ac0.tar.bz2
Fixed ssues on the "Page locked" screen
Ignore-this: 9d142450d439f26feb5cc0aefb5963da darcs-hash:20091102104643-6e07b-c26aa2fd5f3899e81b0e7e0e45b3c1d7043e8571.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 1fb5b0202..0b6d01d72 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1218,7 +1218,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed?
$form->addElement(form_makeCloseTag('div'));
}
$form->addElement(form_makeCloseTag('div'));
- if($conf['license']){
+ if($wr && $conf['license']){
$form->addElement(form_makeOpenTag('div', array('class'=>'license')));
$out = $lang['licenseok'];
$out .= '<a href="'.$license[$conf['license']]['url'].'" rel="license" class="urlextern"';