mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
issue 1487, added codes for prevent an error when there is no file in layouts
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10295 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e1cccf9840
commit
eab30b2ace
1 changed files with 4 additions and 0 deletions
|
|
@ -21,6 +21,10 @@
|
|||
// Set a layout list
|
||||
$oLayoutModel = &getModel('layout');
|
||||
$layout_list = $oLayoutModel->getDownloadedLayoutList('P', true);
|
||||
if(!is_array($layout_list))
|
||||
{
|
||||
$layout_list = array();
|
||||
}
|
||||
|
||||
// get Theme layout
|
||||
$oAdminModel = &getAdminModel('admin');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue