PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.21.4
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.21.4
V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 2.10.2 All 137 releases
← All changes | includes/Core/Database/ReportsModel.php +7 -3 2.02.21.4 View file →
@@ -1,5 +1,6 @@
1 1 <?php
2 +
2 3 /**
3 4 * Provides Report Model Class
4 5 */
5 6
@@ -9,12 +10,14 @@
9 10
10 11 /**
11 12 *
12 13 */
13 -class ReportsModel extends Model {
14 +class ReportsModel extends Model
15 +{
14 16 protected static $table = 'bitforms_reports';
15 17
16 - public function validateReportFields($reportData, $fieldNames) {
18 + public function validateReportFields($reportData, $fieldNames)
19 + {
17 20 $reportDetails = [];
18 21 switch ($reportData->type) {
19 22 case 'table':
20 23 $tableAction = 'table_ac';
@@ -55,9 +58,10 @@
55 58 }
56 59 return $reportDetails;
57 60 }
58 61
59 - public function bulkDelete(array $condition = null, $check_operator = null) {
62 + public function bulkDelete(array $condition = null, $check_operator = null)
63 + {
60 64 if (
61 65 !\is_null($condition)
62 66 && \is_array($condition)
63 67 && array_keys($condition) !== range(0, count($condition) - 1)