mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
위젯핸들러에서 위젯의 결과값이 string이 아니고 Object class의 instance일 경우 메세지를 결과로 처리하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3608 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
931a105095
commit
a90950fd26
1 changed files with 1 additions and 5 deletions
|
|
@ -89,11 +89,7 @@
|
|||
|
||||
$widget_content = $oWidget->proc($args);
|
||||
|
||||
if(!is_string($widget_content)) {
|
||||
if(is_object($widget_content) && (is_a($widget_content, 'Object')||is_subclass_of($widget_content, 'Object'))) {
|
||||
$widget_content = $widget_content->getMessage();
|
||||
} else $widget_content = '';
|
||||
}
|
||||
if(is_object($widget_content) && (is_a($widget_content, 'Object')||is_subclass_of($widget_content, 'Object'))) $widget_content = $widget_content->getMessage();
|
||||
}
|
||||
|
||||
// 위젯의 캐시값과 위젯 sequence가 있을 경우 캐시 파일에 저장
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue