PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Classes/ActionClass.php +4 -4 10.10.2 → 11.1.0 View file →
@@ -36,11 +36,11 @@
36 36
37 37 public function getActionsByConditionId(int $id): array
38 38 {
39 39 $actions = acym_loadObjectList(
40 - 'SELECT action.*
41 - FROM #__acym_action as action
42 - WHERE action.condition_id = '.intval($id)
40 + 'SELECT *
41 + FROM #__acym_action
42 + WHERE condition_id = '.intval($id)
43 43 );
44 44
45 45 array_map([$this, 'fixTypes'], $actions);
46 46
@@ -115,9 +115,9 @@
115 115 JOIN `#__acym_condition` AS `condition`
116 116 ON `action`.`condition_id` = `condition`.`id`
117 117 JOIN `#__acym_step` AS `step`
118 118 ON `condition`.`step_id` = `step`.`id`
119 - WHERE `step`.`automation_id` = '.$id
119 + WHERE `step`.`automation_id` = '.intval($id)
120 120 );
121 121 array_map([$this, 'fixTypes'], $actions);
122 122
123 123 return $actions;