Przeglądaj źródła

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.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4008 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 9 lat temu
rodzic
commit
dee1b44953
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      core/bulkchange.class.inc.php

+ 2 - 0
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)
 				{