diff --git a/core/ormlinkset.class.inc.php b/core/ormlinkset.class.inc.php index 872b6e3bf..ded790761 100644 --- a/core/ormlinkset.class.inc.php +++ b/core/ormlinkset.class.inc.php @@ -521,7 +521,7 @@ class ormLinkSet implements iDBObjectSetIterator, Iterator, SeekableIterator * $oCISet->RemoveItem(123456); * $oTicket->Set(‘functionalcis_list’, $oCISet); */ - if (!ContextTag::Check(ContextTag::TAG_SETUP)) { + if (ContextTag::Check(ContextTag::TAG_PORTAL) || ContextTag::Check(ContextTag::TAG_CONSOLE) ) { DeprecatedCallsLog::NotifyDeprecatedPhpMethod('old pattern - please get previous value of the linked set, modify it and set it back to the host object'); } }