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

skala
Yannick Warnier 15 years ago
parent 57ed44c655
commit 7054596b42
  1. 2
      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";

Loading…
Cancel
Save