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/helpers/src/performance/cleaner.php +3 -3 1.8.7 → 1.8.16 View file →
@@ -180,11 +180,11 @@
180 180 // build snapshot data
181 181 $snapshotData = [
182 182 'listing_id' => null,
183 183 'id_price' => $options['id_price'] ?? null,
184 - 'from_date' => date('Y-m-d'),
185 - 'to_date' => date('Y-m-d', strtotime(sprintf('+%d months', (int) ($options['months'] ?? 3)))),
186 - 'skip_derived' => true,
184 + 'from_date' => $options['from_date'] ?? date('Y-m-d'),
185 + 'to_date' => $options['to_date'] ?? date('Y-m-d', strtotime(sprintf('+%d months', (int) ($options['months'] ?? 3)))),
186 + 'skip_derived' => boolval($options['skip_derived'] ?? true),
187 187 'use_cache' => true,
188 188 'forced' => true,
189 189 ];
190 190