From 633e28e1e9efa5f64822785e05eb0bcdc06e70fd Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 22 Nov 2010 23:48:03 +0000 Subject: [PATCH] Respect convert to human friendly values option --- infolog/inc/class.infolog_export_csv.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.infolog_export_csv.inc.php b/infolog/inc/class.infolog_export_csv.inc.php index 74be495cc2..8e4a7b47e0 100644 --- a/infolog/inc/class.infolog_export_csv.inc.php +++ b/infolog/inc/class.infolog_export_csv.inc.php @@ -66,8 +66,10 @@ class infolog_export_csv implements importexport_iface_export_plugin { } // Some conversion - importexport_export_csv::convert($record, self::$types, 'infolog'); - $this->convert($record); + if($options['convert']) { + importexport_export_csv::convert($record, self::$types, 'infolog'); + $this->convert($record); + } $export_object->export_record($record); unset($record); }