mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 09:39:55 +02:00
Disable SEFURL similarity for Japanese and Korean. (more to come..)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user