mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 14:10:28 +01:00
bugfix copy projekt
This commit is contained in:
parent
e737d69a77
commit
c106282b13
@ -2727,6 +2727,8 @@ class Projekt extends GenProjekt {
|
|||||||
|
|
||||||
if($oldProjectId > 0){
|
if($oldProjectId > 0){
|
||||||
$this->createAdditionalInputForCopyProjects($oldProjectId,$check);
|
$this->createAdditionalInputForCopyProjects($oldProjectId,$check);
|
||||||
|
$msg = $this->app->erp->base64_url_encode("<div class=\"info\">Das Projekt wurde erfolgreich kopiert.</div>");
|
||||||
|
$this->app->Location->execute("index.php?module=projekt&action=uebersicht&id=$check&msg=$msg");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$msg = $this->app->erp->base64_url_encode("<div class=\"info\">Das Projekt wurde erfolgreich angelegt.</div>");
|
$msg = $this->app->erp->base64_url_encode("<div class=\"info\">Das Projekt wurde erfolgreich angelegt.</div>");
|
||||||
@ -2848,7 +2850,7 @@ class Projekt extends GenProjekt {
|
|||||||
* @param int $copyProjectId
|
* @param int $copyProjectId
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function createAdditionalInputForCopyProjects(int $oldProjectId, int $copyProjectId): bool
|
public function createAdditionalInputForCopyProjects(int $oldProjectId, int $copyProjectId)
|
||||||
{
|
{
|
||||||
$hasAdditionalInput = false;
|
$hasAdditionalInput = false;
|
||||||
$this->app->Tpl->Set('TOID',$copyProjectId);
|
$this->app->Tpl->Set('TOID',$copyProjectId);
|
||||||
|
Loading…
Reference in New Issue
Block a user