From 906d894793a6f3e25f57418f5e0a9f0135a6ed8d Mon Sep 17 00:00:00 2001 From: Xavier Noguer Gallego Date: Tue, 18 Feb 2003 19:08:11 +0000 Subject: [PATCH] fixed error in sheets() git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@116982 c90b9560-bf6c-de11-be94-00142212c4b1 --- Writer/Workbook.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Writer/Workbook.php b/Writer/Workbook.php index 9f4e396..e663be7 100644 --- a/Writer/Workbook.php +++ b/Writer/Workbook.php @@ -196,17 +196,20 @@ class Workbook extends BIFFwriter /** * An accessor for the _worksheets[] array * Returns an array of the worksheet objects in a workbook + * It actually calls to worksheets() * * @access public + * @see worksheets() * @return array */ function sheets() { - return($this->_worksheets()); + return $this->worksheets(); } /** * An accessor for the _worksheets[] array. + * Returns an array of the worksheet objects in a workbook * * @access public * @return array