mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
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]
This commit is contained in:
@@ -799,6 +799,8 @@ class BulkChange
|
|||||||
//
|
//
|
||||||
foreach ($this->m_aAttList as $sAttCode => $iCol)
|
foreach ($this->m_aAttList as $sAttCode => $iCol)
|
||||||
{
|
{
|
||||||
|
if ($sAttCode == 'id') continue;
|
||||||
|
|
||||||
$oAttDef = MetaModel::GetAttributeDef($this->m_sClass, $sAttCode);
|
$oAttDef = MetaModel::GetAttributeDef($this->m_sClass, $sAttCode);
|
||||||
if ($oAttDef instanceof AttributeDateTime)
|
if ($oAttDef instanceof AttributeDateTime)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user