Completed
Branch master (7655ba)
by Александр
288:03 queued 248:02
created
src/grid/ComponentSettingsColumn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             return $this->_result(Cms::BOOL_Y);
51 51
         }
52 52
 
53
-        return $this->_result(Cms::BOOL_N);;
53
+        return $this->_result(Cms::BOOL_N); ;
54 54
     }
55 55
 
56 56
     /**
Please login to merge, or discard this patch.
src/components/urlRules/UrlRuleTree.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,13 +244,15 @@
 block discarded – undo
244 244
         ]);
245 245
 
246 246
 
247
-        if (!$pathInfo) //главная страница
247
+        if (!$pathInfo) {
248
+            //главная страница
248 249
         {
249 250
             $treeNode = Tree::getDb()->cache(function($db) {
250 251
                 return Tree::find()->where([
251 252
                     "cms_site_id" => \Yii::$app->cms->site->id,
252 253
                     "level" => 0,
253 254
                 ])->one();
255
+        }
254 256
             }, null, $dependency);
255 257
 
256 258
         } else //второстепенная страница
Please login to merge, or discard this patch.