* #1346 / Validierung funktioniert nicht mehr
* #1336 * #1348 git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3339 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
ec10f42fc8
commit
27d2713283
4 changed files with 6 additions and 6 deletions
|
|
@ -85,9 +85,8 @@ class BookingController extends Controller
|
|||
$breadcrumbEntries = Util::createBreadcrumb($travelProgramPage);
|
||||
$breadcrumbEntries[] = new BreadcrumbEntry('Buchen');
|
||||
|
||||
if ($request->getMethod() == 'POST') // && $form->isValid())
|
||||
if ($request->getMethod() == 'POST' && $form->isValid())
|
||||
{
|
||||
|
||||
$booking = $this->getDoctrine()->getRepository('AppBundle:TravelBooking')->createFromBookingRequest(
|
||||
$bookingRequest, $travelDate, $bookingPriceInfo);
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue