From 07cfc9c23dd7871bac731f8d4861ad2c1461b0ad Mon Sep 17 00:00:00 2001 From: camer0n Date: Sun, 13 Apr 2025 07:20:58 -0700 Subject: [PATCH] Issue #5465 language loading fix. --- e107_plugins/news/news.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/news/news.php b/e107_plugins/news/news.php index 28be89663..1604b81dd 100644 --- a/e107_plugins/news/news.php +++ b/e107_plugins/news/news.php @@ -1415,7 +1415,7 @@ class news_front { header("HTTP/1.0 404 Not Found",true,404); - require_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_error.php"); + e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/lan_error.php"); $text = "
".e107::getMessage()->setTitle(LAN_ERROR_7, E_MESSAGE_INFO)->addInfo(LAN_NEWS_308)->render(); // Perhaps you're looking for one of the news items below? $text .= "
"; $this->action = 'all';