BUG 6945 "Country in Language code causes Javascript error and causes..." SOLVED
The html tags on xml label section was causing the problem, but it is fixed now (import fix)
This commit is contained in:
@@ -228,15 +228,11 @@ class Language extends BaseLanguage {
|
||||
//erik: expresion to prevent and hable correctly dropdown values like -1, -2 etc.
|
||||
preg_match('/^([\w_]+)\s-\s([\w_]+)\s*-*\s*([\w\W]*)$/', $reference, $match);
|
||||
|
||||
|
||||
|
||||
if( ! file_exists(PATH_XMLFORM . $xmlForm) ) {
|
||||
echo 'file doesn\'t exist: ' . PATH_XMLFORM . $xmlForm;
|
||||
$errorMsg .= 'file doesn\'t exist: ' . PATH_XMLFORM . $xmlForm . "\n";
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
G::LoadSystem('dynaformhandler');
|
||||
$dynaform = new dynaFormHandler(PATH_XMLFORM . $xmlForm);
|
||||
$fieldName = $match[2];
|
||||
|
||||
Reference in New Issue
Block a user