Passed
Push — master ( cb809f...d53a79 )
by Andreas
10:24
created
lib/net/nehmer/blog/handler/view.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             ]);
39 39
         }
40 40
 
41
-        if (   $this->_article->topic === $this->_topic->id
41
+        if ($this->_article->topic === $this->_topic->id
42 42
             && $this->_article->can_do('midgard:delete')) {
43 43
             $delete = $this->get_workflow('delete', ['object' => $this->_article]);
44 44
             $buttons[] = $delete->get_button("delete/{$this->_article->guid}/");
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         if ($this->_config->get('comments_enable')) {
74 74
             if ($node = net_nehmer_comments_interface::get_node($this->_topic, $this->_config->get('comments_topic'))) {
75 75
                 $data['comments_url'] = $node[MIDCOM_NAV_RELATIVEURL] . "comment/{$this->_article->guid}/";
76
-                if (   $this->_topic->can_do('midgard:update')
76
+                if ($this->_topic->can_do('midgard:update')
77 77
                     && $this->_topic->can_do('net.nehmer.comments:moderation')) {
78 78
                     net_nehmer_comments_viewer::add_head_elements();
79 79
                 }
Please login to merge, or discard this patch.