fix: redirection after creation contact
This commit is contained in:
parent
ad2d411793
commit
9d927973a7
@ -296,7 +296,7 @@ if (empty($reshook)) {
|
|||||||
if (empty($error) && $id > 0) {
|
if (empty($error) && $id > 0) {
|
||||||
$db->commit();
|
$db->commit();
|
||||||
if (!empty($backtopage)) {
|
if (!empty($backtopage)) {
|
||||||
$url = $backtopage;
|
$url = str_replace('__ID__', $id, $backtopage);
|
||||||
} else {
|
} else {
|
||||||
$url = 'card.php?id='.$id;
|
$url = 'card.php?id='.$id;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user