1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Disable SEF generation for unsupported languages.

This commit is contained in:
Cameron
2016-01-16 14:36:52 -08:00
parent 10b19cabd0
commit 42377b4b51

View File

@@ -4087,7 +4087,7 @@ class e_form
$maxlength = vartrue($parms['maxlength'], 255);
unset($parms['maxlength']);
if(!empty($parms['sef']))
if(!empty($parms['sef']) && e_LANGUAGE != "Japanese" && e_LANGUAGE != "Korean" && e_LANGUAGE != "Hebrew") // unsupported languages.(FIXME there are more)
{
$sefSource = $this->name2id($parms['sef']);
$sefTarget = $this->name2id($key);