fix for bug #4

darcs-hash:20050114210506-9977f-b34047f7f7ff63f9c33c54bcd25a6d37211ec80f.gz
This commit is contained in:
andi 2005-01-14 22:05:06 +01:00
parent f11c233fb5
commit 4721e2ca37
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
* @author Andreas Gohr <andi@splitbrain.org>
*/
define('DOKUWIKIVERSION','2004-01-13');
define('DOKUWIKIVERSION','2004-01-14');
ini_set('short_open_tag',"1");
require_once("conf/dokuwiki.php");
@ -87,7 +87,7 @@
$INFO = pageinfo();
//Editing: check if locked by anyone - if not lock for my self
if(($ACT == 'edit' || $ACT == $lang['btn_preview'])){# && $INFO['editable']){
if(($ACT == 'edit' || $ACT == $lang['btn_preview']) && $INFO['editable']){
$lockedby = checklock($ID);
if($lockedby){
$ACT = 'locked';