SF Bug #2980701 - Creation templates get used for modification post creation
This commit is contained in:
parent
b3874bf958
commit
c5f045756e
@ -64,11 +64,11 @@ if ($add_result) {
|
|||||||
|
|
||||||
else if ($action_number == 2)
|
else if ($action_number == 2)
|
||||||
$redirect_url = sprintf('cmd.php?%s&template=%s&container=%s',
|
$redirect_url = sprintf('cmd.php?%s&template=%s&container=%s',
|
||||||
$href,$request['template']->getID(),rawurlencode($request['template']->getContainer()));
|
$href,'default',rawurlencode($request['template']->getContainer()));
|
||||||
|
|
||||||
else
|
else
|
||||||
$redirect_url = sprintf('cmd.php?%s&template=%s&dn=%s',
|
$redirect_url = sprintf('cmd.php?%s&template=%s&dn=%s',
|
||||||
$href,$request['template']->getID(),rawurlencode($request['template']->getDN()));
|
$href,'default',rawurlencode($request['template']->getDN()));
|
||||||
|
|
||||||
if ($action_number == 1 || $action_number == 2)
|
if ($action_number == 1 || $action_number == 2)
|
||||||
printf('<meta http-equiv="refresh" content="0; url=%s" />',$redirect_url);
|
printf('<meta http-equiv="refresh" content="0; url=%s" />',$redirect_url);
|
||||||
|
Loading…
Reference in New Issue
Block a user