Merge pull request #18943 from Hystepik/develop#1
FIX: creation of project backtopage
This commit is contained in:
commit
b51c904d2b
@ -224,7 +224,7 @@ if (empty($reshook)) {
|
||||
$db->commit();
|
||||
|
||||
if (!empty($backtopage)) {
|
||||
$backtopage = preg_replace('/--IDFORBACKTOPAGE--/', $object->id, $backtopage); // New method to autoselect project after a New on another form object creation
|
||||
$backtopage = preg_replace('/--IDFORBACKTOPAGE--|__ID__/', $object->id, $backtopage); // New method to autoselect project after a New on another form object creation
|
||||
$backtopage = $backtopage.'&projectid='.$object->id; // Old method
|
||||
header("Location: ".$backtopage);
|
||||
exit;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user