Page MenuHomeIn-Portal Phabricator

D206.diff
No OneTemporary

File Metadata

Created
Mon, Jan 6, 1:41 AM

D206.diff

Index: branches/5.2.x/core/units/promo_blocks/promo_blocks_config.php
===================================================================
--- branches/5.2.x/core/units/promo_blocks/promo_blocks_config.php
+++ branches/5.2.x/core/units/promo_blocks/promo_blocks_config.php
@@ -58,6 +58,7 @@
'BlockId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),
'PromoBlockGroupId' => Array (
'type' => 'int',
+ 'formatter' => 'kOptionsFormatter',
'options_sql' => 'SELECT %s FROM ' . TABLE_PREFIX . 'PromoBlockGroups ORDER BY Title', 'option_title_field' => 'Title', 'option_key_field' => 'PromoBlockGroupId',
'not_null' => 1, 'required' => 1, 'default' => 0,
),

Event Timeline