sub DoPageLock { ... if ($id eq "") { print '<p>', T('Missing page id to lock/unlock...'); + print &GetCommonFooter(); return; } ...