[Vtigercrm-commits] [vtiger-commits] r9309 - in /vtigercrm/branches/4.2/include/php_writeexcel: class.writeexcel_format.inc.php class.writeexcel_formula.inc.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Sep 6 03:16:33 EDT 2006
Author: allanbush
Date: Wed Sep 6 01:16:30 2006
New Revision: 9309
Log:
Fixed php errors using php5 with excel exports. Closes #2040. This patch is a little more refined then r8681 which was used on the trunk.
Modified:
vtigercrm/branches/4.2/include/php_writeexcel/class.writeexcel_format.inc.php
vtigercrm/branches/4.2/include/php_writeexcel/class.writeexcel_formula.inc.php
Modified: vtigercrm/branches/4.2/include/php_writeexcel/class.writeexcel_format.inc.php
==============================================================================
--- vtigercrm/branches/4.2/include/php_writeexcel/class.writeexcel_format.inc.php (original)
+++ vtigercrm/branches/4.2/include/php_writeexcel/class.writeexcel_format.inc.php Wed Sep 6 01:16:30 2006
@@ -119,7 +119,7 @@
*/
function copy($other) {
$xf = $this->_xf_index; // Backup XF index
- $this = $other; // Copy properties
+ $this[] = clone($other); // Copy properties
$this->_xf_index = $xf; // Restore XF index
}
Modified: vtigercrm/branches/4.2/include/php_writeexcel/class.writeexcel_formula.inc.php
==============================================================================
--- vtigercrm/branches/4.2/include/php_writeexcel/class.writeexcel_formula.inc.php (original)
+++ vtigercrm/branches/4.2/include/php_writeexcel/class.writeexcel_formula.inc.php Wed Sep 6 01:16:30 2006
@@ -150,7 +150,7 @@
function set_ext_sheet($key, $value) {
- $this->_ext_sheets->$key = $value;
+ $this->_ext_sheets[$key] = $value;
}
function isError($data) {
More information about the vtigercrm-commits
mailing list