getVal('IDcat', null, 0), 'id_producer' => getVal('IDpd'), 'campaign' => getVal('campaign', null, ''), ]; if (isset($_GET['watchdog'])) { SymfonyBridge::handleController('KupShop\CatalogBundle\Controller\CatalogController::watchdogAction', $attributes); } else { SymfonyBridge::handleController('KupShop\CatalogBundle\Controller\CatalogController::campaignAction', $attributes); }