Error with new version of scriptcase

When I choose a select field ( for lookup setting ) I have always this error message
[URL=“https://drive.google.com/open?id=1jsC6mto78SnBoelg20GlxaQww2KeROGi”]https://drive.google.com/open?id=1js...GlxaQww2KeROGi

The error is in the file C:\Program Files\NetMake\v9\wwwroot\scriptcase\devel\class\xm lparser
mXmlparserIniLookup.class.php

line 133

function NormalizeSimpleXML($v_str_xml)
{
/* Inicia estrutura do XML */
$arr_xml = $this->LoadDefaults();

if (strpos($v_str_xml, "encoding=“iso-8859-1"”) !== false)
{
$v_str_xml = str_replace("encoding=“iso-8859-1"”, "encoding=“UTF-8"”, $v_str_xml);
}

$v_str_xml = str_replace(’&’, htmlentities(’&’), $v_str_xml);

/* Carrega dados do XML */
$obj_xml = simplexml_load_string($v_str_xml);

Solved

Thank to Jose Pedro [h=2][/h]

1 Like