Войти
$oBrand = null; if ($sActionEvent == 'edit' && $iId) {...
if (!empty($oBrand)){ $_REQUEST['target_type'] = $oBrand->getTargetType(); $_REQUEST['target_id'] = $oBrand->getTargetId(); $_REQUEST['brand_form_image'] = $oBrand->getBgImage(); $_REQUEST['brand_active'] = 1; $_REQUEST['brand_form_image_position'] = $oBrand->getPosition(); $_REQUEST['brand_header_margin_top'] = $oBrand->getMarginTop(); $_REQUEST['brand_bg_color'] = $oBrand->getBgColor(); }
они? 82 и 83 строки поменять местами?