diff --git a/src/messenger/webim/operator/translate.php b/src/messenger/webim/operator/translate.php index 5e271ce6..368eb8fc 100644 --- a/src/messenger/webim/operator/translate.php +++ b/src/messenger/webim/operator/translate.php @@ -23,6 +23,8 @@ require_once('../libs/common.php'); require_once('../libs/operator.php'); require_once('../libs/pagination.php'); +csrfchecktoken(); + function compare_localization_by_l1($a, $b) { if ($a == $b) { @@ -230,4 +232,4 @@ $page['formshow'] = $show; prepare_menu($operator); start_html_output(); require('../view/translatelist.php'); -?> \ No newline at end of file +?> diff --git a/src/messenger/webim/view/translate.php b/src/messenger/webim/view/translate.php index e809459d..0b72c222 100644 --- a/src/messenger/webim/view/translate.php +++ b/src/messenger/webim/view/translate.php @@ -44,6 +44,10 @@ require_once('inc_errors.php'); ?>