mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
Don't show two success messages when creating a project
This commit is contained in:
parent
160e639a78
commit
b8690f91b5
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@ try{
|
||||||
}
|
}
|
||||||
|
|
||||||
$_SESSION['project'] = $project;
|
$_SESSION['project'] = $project;
|
||||||
$_SESSION['is-project-created'] = true;
|
if(!isset($_SESSION['is-only-ebook-project-created'])){
|
||||||
|
$_SESSION['is-project-created'] = true;
|
||||||
|
}
|
||||||
|
|
||||||
http_response_code(Enums\HttpCode::SeeOther->value);
|
http_response_code(Enums\HttpCode::SeeOther->value);
|
||||||
header('Location: /projects');
|
header('Location: /projects');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue