Browse Source

Fix search list of language variables - refs BT#11015

Angel Fernando Quiroz Campos 8 years ago
parent
commit
5c3536ce8a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      main/admin/sub_language.php

+ 4 - 0
main/admin/sub_language.php

@@ -265,6 +265,10 @@ function search_language_term(
 					continue;
 				}
 
+				if (is_array($variable_value)) {
+					continue;
+				}
+
 				$founded = false;
 				// searching the item in the parent tool
 				if (preg_match($term,$variable_value)!==0) {