From 5808bc5485ac98b967e5912db9cdde0cc2fb6ac0 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 2 Nov 2009 11:46:43 +0100 Subject: Fixed ssues on the "Page locked" screen Ignore-this: 9d142450d439f26feb5cc0aefb5963da darcs-hash:20091102104643-6e07b-c26aa2fd5f3899e81b0e7e0e45b3c1d7043e8571.gz --- inc/html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc') 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 .= '