Browse Source

Fixing character display issue - see http://www.chamilo.org/es/node/670

Yannick Warnier 14 years ago
parent
commit
7054596b42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/newscorm/learnpath.class.php

+ 1 - 1
main/newscorm/learnpath.class.php

@@ -6912,7 +6912,7 @@ class learnpath {
 			$return .= 'child_value[' . $row['id'] . '] = new Array();' . "\n\n";
 
 			while ($row_parent = Database :: fetch_array($res_parent)) {
-				$return .= 'child_name[' . $row['id'] . '][' . $i . '] = "' . get_lang("After") . ' \"' . api_convert_encoding($row_parent['title'], $charset, $this->encoding) . '\"";' . "\n";
+				$return .= 'child_name[' . $row['id'] . '][' . $i . '] = "' . get_lang("After") . ' \"' . api_html_entity_decode(api_convert_encoding ($row_parent['title'], $charset, $this->encoding), ENT_QUOTES, $charset) . '\"";' . "\n";
 				$return .= 'child_value[' . $row['id'] . '][' . $i++ . '] = "' . $row_parent['id'] . '";' . "\n";
 			}
 			$return .= "\n";