Index: branches/5.2.x/core/units/promo_block_groups/promo_block_group_eh.php =================================================================== diff -u -N -r14929 -r15012 --- branches/5.2.x/core/units/promo_block_groups/promo_block_group_eh.php (.../promo_block_group_eh.php) (revision 14929) +++ branches/5.2.x/core/units/promo_block_groups/promo_block_group_eh.php (.../promo_block_group_eh.php) (revision 15012) @@ -91,7 +91,7 @@ { parent::OnAfterItemDelete($event); - $sql = 'UPDATE ' . TABLE_PREFIX . 'Category + $sql = 'UPDATE ' . TABLE_PREFIX . 'Categories SET PromoBlockGroupId = 0 WHERE PromoBlockGroupId = ' . $event->getEventParam('id'); $this->Conn->Query($sql);