summaryrefslogtreecommitdiff
path: root/protected/modules/cms/controllers/SitecontentController.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/modules/cms/controllers/SitecontentController.php')
-rw-r--r--protected/modules/cms/controllers/SitecontentController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/protected/modules/cms/controllers/SitecontentController.php b/protected/modules/cms/controllers/SitecontentController.php
index bb18771..a2a3906 100644
--- a/protected/modules/cms/controllers/SitecontentController.php
+++ b/protected/modules/cms/controllers/SitecontentController.php
@@ -39,8 +39,9 @@ class SitecontentController extends Controller
$model = $this->loadContent();
$this->breadcrumbs = array($model->title);
+ if($model->id > 1) {
$this->menu = CMS::getMenuPoints($model->id);
-
+ }
$this->render('view', array(
'sitecontent' => $model,
));