From f041495fb8459bab82295d88612dabf92196f6d0 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Mon, 30 May 2011 22:20:13 +0000 Subject: [PATCH] Call dataTypeForValue() method in self rather than PHPExcel_Cell_Datatype git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74695 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Cell/DefaultValueBinder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Cell/DefaultValueBinder.php b/Classes/PHPExcel/Cell/DefaultValueBinder.php index 062e2c71..ee55fc71 100644 --- a/Classes/PHPExcel/Cell/DefaultValueBinder.php +++ b/Classes/PHPExcel/Cell/DefaultValueBinder.php @@ -60,7 +60,7 @@ class PHPExcel_Cell_DefaultValueBinder implements PHPExcel_Cell_IValueBinder } // Set value explicit - $cell->setValueExplicit( $value, PHPExcel_Cell_DataType::dataTypeForValue($value) ); + $cell->setValueExplicit( $value, self::dataTypeForValue($value) ); // Done! return true;