This commit is contained in:
parent
283f37a364
commit
6a1588e925
@ -481,7 +481,7 @@ if (empty($reshook)) {
|
|||||||
$object->setCategories($categories);
|
$object->setCategories($categories);
|
||||||
|
|
||||||
if (!empty($backtopage)) {
|
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('/__ID__/', $object->id, $backtopage); // New method to autoselect project after a New on another form object creation
|
||||||
if (preg_match('/\?/', $backtopage)) {
|
if (preg_match('/\?/', $backtopage)) {
|
||||||
$backtopage .= '&socid='.$object->id; // Old method
|
$backtopage .= '&socid='.$object->id; // Old method
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user