Index: branches/5.2.x/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r14920 -r15014 --- branches/5.2.x/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 14920) +++ branches/5.2.x/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 15014) @@ -1,6 +1,6 @@ Special && $this->Application->hasObject($this->Prefix) ) { // object, produced by "kDBList::linkToParent" method, that otherwise would keep it's id - $this->Application->removeObject($this->Prefix); + $item =& $this->Application->recallObject($this->Prefix); + /* @var $item kDBBase */ + + if ( $item instanceof kDBItem ) { + $this->Application->removeObject($this->Prefix); + } } $list->GoNext();