// small fix

This commit is contained in:
rGaillard committed 2013-12-03 11:18:58 +01:00
1 parent 0a2ba0015b
commit 8a72e4d810
1 file changed
+4 -3
+4 -3
View File
@@ -228,9 +228,10 @@ class AdminMetaControllerCore extends AdminController
$files = Meta::getPages(true, ($this->object->page ? $this->object->page : false)); $files = Meta::getPages(true, ($this->object->page ? $this->object->page : false));
$is_index = false; $is_index = false;
foreach ($this->object->url_rewrite as $rewrite) if (is_array($this->object))
if($is_index != true) foreach ($this->object->url_rewrite as $rewrite)
$is_index = ($this->object->page == 'index' && empty($rewrite)) ? true : false; if($is_index != true)
$is_index = ($this->object->page == 'index' && empty($rewrite)) ? true : false;
$pages = array( $pages = array(
'common' => array( 'common' => array(