diff --git a/contactsnew/class.contactsnew.php b/contactsnew/class.contactsnew.php index ed91ecc..402839f 100644 --- a/contactsnew/class.contactsnew.php +++ b/contactsnew/class.contactsnew.php @@ -1298,7 +1298,7 @@ class ContactsNew if (empty($_REQUEST['ajax'])) { - header('Location: index.php?do=modules&action=modedit&mod=contactsnew&moduleaction=history_list&fid=' . $_REQUEST['fid'] . '&cp=' . SESS); + header('Location: index.php?do=modules&action=modedit&mod=contactsnew&moduleaction=history_list&fid=' . $_REQUEST['fid'] . '&cp=' . SESSION); exit; } } @@ -1426,7 +1426,7 @@ class ContactsNew // прописываем алерт об успешной отправке письма $_SESSION['module_contactsnew_admin'][$fid]['dialog_alert'] = array('text' => 'respose_sent', 'theme' => 'accept'); - header('Location: index.php?do=modules&action=modedit&mod=contactsnew&moduleaction=history_dialog&hid=' . $hid . '&cp=' . SESS); + header('Location: index.php?do=modules&action=modedit&mod=contactsnew&moduleaction=history_dialog&hid=' . $hid . '&cp=' . SESSION); exit; } }