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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user