From bbf1139b3a513c118649e70f2d0b5f288b38f1f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3?= Date: Sat, 6 Apr 2019 20:29:06 +0300 Subject: [PATCH] =?UTF-8?q?[upd]=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=B7=D0=B0=D0=BC=D0=B5=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=B4=D0=B5=D0=BB=D0=B8=D1=82=D0=B5=D0=BB?= =?UTF-8?q?=D1=8F=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=D0=B0?= =?UTF-8?q?=20url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/general_functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/general_functions.php b/kernel/general_functions.php index d77a65f..048a418 100644 --- a/kernel/general_functions.php +++ b/kernel/general_functions.php @@ -123,8 +123,8 @@ function a_notice($message, $link, $timeout = 5) { function a_confirm($message, $link_ok, $link_cancel) { $tpl = Registry::get('tpl'); $message = str_safe($message); - $link_ok = str_safe($link_ok); - $link_cancel = str_safe($link_cancel); + $link_ok = str_safe(strtr($link_ok, '&', '&')); + $link_cancel = str_safe(strtr($link_cancel, '&', '&')); if (empty($message)) $message = 'Подтверждаете выполнение данного действия?'; @@ -413,4 +413,4 @@ function url($path, $query = '', $header = FALSE) { return $url; } -?> \ No newline at end of file +?>