Merge pull request #1258 from dorami/develop2

위젯스타일 설정에서 작성자를 표시하지 못하는 버그 수정
This commit is contained in:
bnu 2015-07-06 18:12:05 +09:00
commit 5cbd55d01b

View file

@ -304,7 +304,8 @@ class widgetModel extends widget
if(file_exists($preview_file)) $buff[] = sprintf('$widgetStyle_info->preview = "%s";', $preview_file);
// Author information
$author_list = (!is_array($author_list)) ? array($author_list) : $author_list;
if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author;
else $author_list = $xml_obj->author;
foreach($author_list as $idx => $author)
{