mirror of https://github.com/tLDP/LDP
bugfixes
This commit is contained in:
parent
b5f3a02ea7
commit
8b09b24a66
|
@ -16,7 +16,7 @@ $email = $L->Param('email');
|
|||
|
||||
unless ($L->Admin()){
|
||||
%userdocs = $L->UserDocs($L->CurrentUserID());
|
||||
unless ($userdocs{$doc_id) {
|
||||
unless ($userdocs{$doc_id}) {
|
||||
$L->Redirect("wrongpermission.pl");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/perl
|
||||
#!/usr/bin/perl
|
||||
#
|
||||
use Lampadas;
|
||||
use Lampadas::Database;
|
||||
|
|
Loading…
Reference in New Issue