From 21935dd8a577b626267573437cc22eb99e196107 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Fri, 16 Nov 2012 15:49:45 +0100 Subject: [PATCH] Small fix for 5.3 compatibility. --- reporting/includes/Workbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporting/includes/Workbook.php b/reporting/includes/Workbook.php index 185daefc..56c644f2 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; -- 2.30.2