mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix notice warning in getFormat() call
This commit is contained in:
parent
6adecac2a8
commit
70efc4cd40
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159334
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= Spreadsheet_Excel_Writer
|
||||
PORTVERSION= 0.9.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc www pear
|
||||
|
||||
MAINTAINER= pav@FreeBSD.org
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- Writer/Worksheet.php.orig Sat Nov 19 14:47:01 2005
|
||||
+++ Writer/Worksheet.php Tue Apr 11 17:06:18 2006
|
||||
@@ -1230,7 +1230,7 @@
|
||||
*/
|
||||
function _XF(&$format)
|
||||
{
|
||||
- if ($format != 0) {
|
||||
+ if (is_object($format)) {
|
||||
return($format->getXfIndex());
|
||||
} else {
|
||||
return(0x0F);
|
Loading…
Reference in New Issue
Block a user