Project

General

Profile

Bug #83392

Updated by Susanne Moog over 6 years ago

I got the following problem. 
 @ 
         if ( ... ) { 
 ... 
             $this->addFlashMessage( 
                 LocalizationUtility::translate( 
                     'flash.ad.checkCompany.missingData.message', 
                     'project' 'neustaspector' 
                 ) . "\n" . $error, 
                 LocalizationUtility::translate( 
                     'flash.ad.checkCompany.missingData.title', 
                     'project' 'neustaspector' 
                 ), 

                 AbstractMessage::ERROR, 
                 false 
             ); 
 // the following line will not trigger a flashmessage 
 //              $this->redirect(null, null, null, ['err' => 'ad'], $this->settings['pids']['profileCompany']); 
 // 
             $this->redirect('edit', 'Company', null, ['err' => 'ad'], $this->settings['pids']['profileCompany']); 
         } 
 @

Back