issue 160, fix a bug for do not display layout instance that have a extra variable name "layout_type"

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9319 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-09-26 04:56:01 +00:00
parent 4c747318ae
commit 42cb958d66
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@
$args->layout_srl = getNextSequence();
$args->layout = Context::get('layout');
$args->title = Context::get('title');
$args->layout_type = Context::get('layout_type');
$args->layout_type = Context::get('_layout_type');
if(!$args->layout_type) $args->layout_type = "P";
// Insert into the DB