PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/views/prices/view.html.php +3 -0 1.7.1 → 1.8.16 View file →
@@ -30,8 +30,11 @@
30 30 $rplanpub2 = VikRequest::getInt('rplanpub2', 0, 'request');
31 31 $rplanbk1 = VikRequest::getInt('rplanbk1', 0, 'request');
32 32 $rplanbk2 = VikRequest::getInt('rplanbk2', 0, 'request');
33 33 if ($wizard) {
34 + if (!JSession::checkToken()) {
35 + throw new Exception(JText::translate('JINVALID_TOKEN'), 403);
36 + }
34 37 if ($rplanpub1) {
35 38 $q = "INSERT INTO `#__vikbooking_prices` (`name`, `idiva`, `breakfast_included`, `free_cancellation`, `minlos`) VALUES (" . $dbo->quote(JText::translate('VBOSTANDARDRATE')) . ", 0, $rplanbk1, 1, 0);";
36 39 $dbo->setQuery($q);
37 40 $dbo->execute();