X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2FWorkbook.php;h=bfc0c8efd545b6ef4ba14f8859da209fe8e1b811;hb=b0c4c9777f9574e9c2805fddc2a12576d75d94ce;hp=185daefcc3707f6dd2f7c400391c09705e2570ab;hpb=90b3d069d96b99671af51726e2953352738abb75;p=fa-stable.git diff --git a/reporting/includes/Workbook.php b/reporting/includes/Workbook.php index 185daefc..bfc0c8ef 100644 --- a/reporting/includes/Workbook.php +++ b/reporting/includes/Workbook.php @@ -3118,7 +3118,7 @@ class Spreadsheet_Excel_Writer_Parser function _expression() { // If it's a string return a string node - if (ereg("^\"[^\"]{0,255}\"$", $this->_current_token)) { + if (preg_match("/^\"[^\"]{0,255}\"$/", $this->_current_token)) { $result = $this->_createTree($this->_current_token, '', ''); $this->_advance(); return $result; @@ -8440,4 +8440,3 @@ class Spreadsheet_Excel_Writer_Workbook extends Spreadsheet_Excel_Writer_BIFFwri } } } -?>