FIX: creation of project backtopage
This commit is contained in:
parent
33761f9de3
commit
bbf5cb5db1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue