mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-05 16:42:53 +01:00
Upgraded PHPExcel to v1.8.1
Fixes issues with PHP 7
This commit is contained in:
@@ -161,14 +161,6 @@ class PHPExcel_Shared_OLE_ChainedBlockStream
|
||||
*/
|
||||
public function stream_eof()
|
||||
{
|
||||
// As we don't support below 5.2 anymore, this is simply redundancy and overhead
|
||||
// $eof = $this->pos >= strlen($this->data);
|
||||
// // Workaround for bug in PHP 5.0.x: http://bugs.php.net/27508
|
||||
// if (version_compare(PHP_VERSION, '5.0', '>=') &&
|
||||
// version_compare(PHP_VERSION, '5.1', '<')) {
|
||||
// $eof = !$eof;
|
||||
// }
|
||||
// return $eof;
|
||||
return $this->pos >= strlen($this->data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user