diff options
author | pav <pav@FreeBSD.org> | 2006-04-11 23:08:24 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-04-11 23:08:24 +0800 |
commit | 7f048b4a0c7b6605c61419f3989045ede953f295 (patch) | |
tree | 9965e0839c0a24d7b754a4db4c3a8bbab716f4b1 /textproc | |
parent | 410ef1b1c4c072f92624762579d199b055718e44 (diff) | |
download | freebsd-ports-gnome-7f048b4a0c7b6605c61419f3989045ede953f295.tar.gz freebsd-ports-gnome-7f048b4a0c7b6605c61419f3989045ede953f295.tar.zst freebsd-ports-gnome-7f048b4a0c7b6605c61419f3989045ede953f295.zip |
- Fix notice warning in getFormat() call
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/pear-Spreadsheet_Excel_Writer/Makefile | 1 | ||||
-rw-r--r-- | textproc/pear-Spreadsheet_Excel_Writer/files/patch-Writer-Worksheet.php | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/textproc/pear-Spreadsheet_Excel_Writer/Makefile b/textproc/pear-Spreadsheet_Excel_Writer/Makefile index 2d0e82b49b61..9a20071440f1 100644 --- a/textproc/pear-Spreadsheet_Excel_Writer/Makefile +++ b/textproc/pear-Spreadsheet_Excel_Writer/Makefile @@ -7,6 +7,7 @@ PORTNAME= Spreadsheet_Excel_Writer PORTVERSION= 0.9.0 +PORTREVISION= 1 CATEGORIES= textproc www pear MAINTAINER= pav@FreeBSD.org diff --git a/textproc/pear-Spreadsheet_Excel_Writer/files/patch-Writer-Worksheet.php b/textproc/pear-Spreadsheet_Excel_Writer/files/patch-Writer-Worksheet.php new file mode 100644 index 000000000000..1ee2aad6441e --- /dev/null +++ b/textproc/pear-Spreadsheet_Excel_Writer/files/patch-Writer-Worksheet.php @@ -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); |