Skip to content
Snippets Groups Projects
Commit cd409024 authored by jorda's avatar jorda
Browse files

fixed .lock files

The name of .lock files was not being set since $ID was not initialized
as global inside the act_edit() function. Only a .txt.lock file was
created causing some ugly errors.

darcs-hash:20050403094446-18876-28ab4f94f034e1db34639d942dc3816cacd1ca5a.gz
parent 3ae0dd35
No related branches found
No related tags found
No related merge requests found
......@@ -194,6 +194,8 @@ function act_auth($act){
* @author Andreas Gohr <andi@splitbrain.org>
*/
function act_edit($act){
global $ID;
//check if locked by anyone - if not lock for my self
$lockedby = checklock($ID);
if($lockedby) return 'locked';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment