Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $emails = $this->getRequest()->request->get('emails', array());
- if (count($emails) == 0) {
- $this->get('session')->getFlashBag()->add(
- 'error',
- 'Please select at least one client!'
- );
- return $this->redirect($this->generateUrl('clients_batch_confirm', array(
- 'id' => $id,
- )));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement