PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.7.0
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.7.0
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 +6 -3 2.02.7.0 View file →
@@ -9,12 +9,14 @@
9 9
10 10 /**
11 11 *
12 12 */
13 -class ReportsModel extends Model {
13 +class ReportsModel extends Model
14 +{
14 15 protected static $table = 'bitforms_reports';
15 16
16 - public function validateReportFields($reportData, $fieldNames) {
17 + public function validateReportFields($reportData, $fieldNames)
18 + {
17 19 $reportDetails = [];
18 20 switch ($reportData->type) {
19 21 case 'table':
20 22 $tableAction = 'table_ac';
@@ -55,9 +57,10 @@
55 57 }
56 58 return $reportDetails;
57 59 }
58 60
59 - public function bulkDelete(array $condition = null, $check_operator = null) {
61 + public function bulkDelete(array $condition = null, $check_operator = null)
62 + {
60 63 if (
61 64 !\is_null($condition)
62 65 && \is_array($condition)
63 66 && array_keys($condition) !== range(0, count($condition) - 1)