From 500128d61338c95acd9abf58b9e68af572b3d327 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 16 Jan 2017 19:05:27 -0800 Subject: [PATCH] Disable SEFURL similarity for Japanese and Korean. (more to come..) --- e107_admin/newspost.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e107_admin/newspost.php b/e107_admin/newspost.php index 8a33c0854..0911ab03e 100644 --- a/e107_admin/newspost.php +++ b/e107_admin/newspost.php @@ -590,6 +590,12 @@ class news_admin_ui extends e_admin_ui */ private function checkSEFSimilarity($new_data) { + if(e_LANGUAGE === "Japanese" || e_LANGUAGE === "Korean") + { + return null; + } + + $expectedSEF = eHelper::title2sef($new_data['news_title']); similar_text($expectedSEF,$new_data['news_sef'],$percSimilar);