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);
|
$project = $objProjectModel->findOne($intId);
|
||||||
if (
|
if (
|
||||||
!isset($_SESSION['user']) ||
|
!isset($_SESSION['user']) ||
|
||||||
$_SESSION['user']['user_status'] != 2 ||
|
!$project &&
|
||||||
!$project ||
|
($_SESSION['user']['user_status'] != 2 || $project['project_user_id'] != $_SESSION['user']['user_id'])
|
||||||
$project['project_creatorname'] == $_SESSION['user']['user_pseudo']
|
|
||||||
) {
|
) {
|
||||||
header('Location: '.$_ENV['BASE_URL']);
|
header('Location: '.$_ENV['BASE_URL']);
|
||||||
exit;
|
exit;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue