From 4721e2ca370de4063159bbd3e8b2cd25928e81fa Mon Sep 17 00:00:00 2001 From: andi Date: Fri, 14 Jan 2005 22:05:06 +0100 Subject: fix for bug #4 darcs-hash:20050114210506-9977f-b34047f7f7ff63f9c33c54bcd25a6d37211ec80f.gz --- doku.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doku.php') diff --git a/doku.php b/doku.php index a62ff85f7..50f033c9b 100644 --- a/doku.php +++ b/doku.php @@ -6,7 +6,7 @@ * @author Andreas Gohr */ - 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'; -- cgit v1.2.3