diff --git a/src/mibew/operator/update.php b/src/mibew/operator/update.php
index c59a5356..b79c6613 100644
--- a/src/mibew/operator/update.php
+++ b/src/mibew/operator/update.php
@@ -24,7 +24,7 @@ require_once('../libs/groups.php');
$operator = get_logged_in();
if (!$operator) {
start_xml_output();
- echo "" . safe_htmlspecialchars(safe_htmlspecialchars(myiconv($mibew_encoding, "utf-8", escape_with_cdata(getstring("agent.not_logged_in"))))) . "";
+ echo "" . escape_with_cdata(safe_htmlspecialchars(myiconv($mibew_encoding, "utf-8", getstring("agent.not_logged_in")))) . "";
exit;
}