correction bug suppression pour de vrai
Some checks are pending
Deploy production (servyass) / deploy (push) Waiting to run
Some checks are pending
Deploy production (servyass) / deploy (push) Waiting to run
This commit is contained in:
parent
4583eac7cf
commit
ceca1e4064
1 changed files with 2 additions and 3 deletions
|
|
@ -487,9 +487,8 @@
|
|||
$project = $objProjectModel->findOne($intId);
|
||||
if (
|
||||
!isset($_SESSION['user']) ||
|
||||
$_SESSION['user']['user_status'] != 2 ||
|
||||
!$project ||
|
||||
$project['project_creatorname'] == $_SESSION['user']['user_pseudo']
|
||||
!$project &&
|
||||
($_SESSION['user']['user_status'] != 2 || $project['project_user_id'] != $_SESSION['user']['user_id'])
|
||||
) {
|
||||
header('Location: '.$_ENV['BASE_URL']);
|
||||
exit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue