Test Failed
Push — tmp ( 15f615...89cc97 )
by Paul
10:31 queued 04:40
created
plugin/Database/Query.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,8 @@
 block discarded – undo
71 71
         $this->setArgs($args);
72 72
         if (!empty($postIds)) {
73 73
             $postIds = implode(',', Arr::uniqueInt($postIds));
74
-        } else {
74
+        }
75
+        else {
75 76
             $postIds = "SELECT ids.* FROM (
76 77
                 SELECT r.review_id
77 78
                 {$this->sqlFrom()}
Please login to merge, or discard this patch.
plugin/Controllers/ReviewController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,8 @@
 block discarded – undo
158 158
             glsr(ReviewManager::class)->update($post->ID, [
159 159
                 'is_approved' => 'publish' === $newStatus,
160 160
             ]);
161
-        } else {
161
+        }
162
+        else {
162 163
             glsr(ReviewManager::class)->updateAssignedPost($post->ID, [
163 164
                 'is_published' => 'publish' === $newStatus,
164 165
             ]);
Please login to merge, or discard this patch.