Compatibility 8.1
This commit is contained in:
parent
3a7f97cf03
commit
3f744d834a
2 changed files with 3 additions and 3 deletions
|
|
@ -305,7 +305,7 @@ class Document
|
|||
|
||||
// if the pattern if found we replace it
|
||||
$value=$this->replace($tag, $p_array);
|
||||
if (strpos($value, 'ERROR')!=false)
|
||||
if (strpos($value??"", 'ERROR')!=false)
|
||||
$value="";
|
||||
/*
|
||||
* Change type of cell to numeric
|
||||
|
|
|
|||
|
|
@ -2719,7 +2719,7 @@ function unescapebycharacter($str)
|
|||
*/
|
||||
function escape_xml($p_xml)
|
||||
{
|
||||
$xml=$p_xml;
|
||||
$xml=$p_xml??"";
|
||||
$xml=str_replace('&','&',$xml);
|
||||
$xml=str_replace('<','<',$xml);
|
||||
$xml=str_replace('>','>',$xml);
|
||||
|
|
@ -2737,7 +2737,7 @@ function escape_xml($p_xml)
|
|||
*/
|
||||
function unescape_xml($p_xml)
|
||||
{
|
||||
$xml=$p_xml;
|
||||
$xml=$p_xml??"";
|
||||
$xml=str_replace('&','&',$xml);
|
||||
$xml=str_replace('<','<',$xml);
|
||||
$xml=str_replace('>','>',$xml);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue