Page MenuHomeIn-Portal Phabricator

D279.diff
No OneTemporary

File Metadata

Created
Mon, Jan 6, 1:27 AM

D279.diff

Index: branches/5.2.x/core/kernel/db/db_event_handler.php
===================================================================
--- branches/5.2.x/core/kernel/db/db_event_handler.php
+++ branches/5.2.x/core/kernel/db/db_event_handler.php
@@ -3393,7 +3393,7 @@
protected function getAutoCompleteSuggestions(kEvent $event, $term)
{
/** @var kDBItem $object */
- $object = $event->getObject();
+ $object = $event->getObject(array('skip_autoload' => true));
$field = $this->Application->GetVar('field');
Index: branches/5.2.x/core/units/configuration/configuration_event_handler.php
===================================================================
--- branches/5.2.x/core/units/configuration/configuration_event_handler.php
+++ branches/5.2.x/core/units/configuration/configuration_event_handler.php
@@ -520,7 +520,7 @@
protected function getAutoCompleteSuggestions(kEvent $event, $term)
{
/** @var kDBItem $object */
- $object = $event->getObject();
+ $object = $event->getObject(array('skip_autoload' => true));
$field = $this->Application->GetVar('field');

Event Timeline