From e51a6f8ff2348904cf33d3bfbd8bf6824fbfe4e1 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Wed, 20 Apr 2016 12:20:18 +0000 Subject: [PATCH] Bug fix: when a date/time format is specified, don't try to process columns named 'id' since obviously these are neither date/times nor a genuine attribute code. SVN:trunk[4008] --- core/bulkchange.class.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/bulkchange.class.inc.php b/core/bulkchange.class.inc.php index 13c095f3b..fc7c24051 100644 --- a/core/bulkchange.class.inc.php +++ b/core/bulkchange.class.inc.php @@ -799,6 +799,8 @@ class BulkChange // foreach ($this->m_aAttList as $sAttCode => $iCol) { + if ($sAttCode == 'id') continue; + $oAttDef = MetaModel::GetAttributeDef($this->m_sClass, $sAttCode); if ($oAttDef instanceof AttributeDateTime) {