mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
#18624564 : exception handling when name attribute of parameter is not set in XmlFilter
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7178 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cf6cdd10ad
commit
dadc4c546b
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@
|
|||
**/
|
||||
|
||||
class XmlJsFilter extends XmlParser {
|
||||
var $version = '0.2.2';
|
||||
var $version = '0.2.3';
|
||||
var $compiled_path = './files/cache/js_filter_compiled/'; ///< 컴파일된 캐시 파일이 놓일 위치
|
||||
var $xml_file = NULL; ///< 대상 xml 파일
|
||||
var $js_file = NULL; ///< 컴파일된 js 파일
|
||||
|
|
@ -221,7 +221,7 @@
|
|||
$target = trim($attrs->target);
|
||||
|
||||
if($name && $target && ($name != $target)) $js_doc[] = "\t\tparams['{$name}'] = params['{$target}']; delete params['{$target}'];";
|
||||
if(!in_array($name, $target_list)) $target_list[] = $name;
|
||||
if($name && !in_array($name, $target_list)) $target_list[] = $name;
|
||||
}
|
||||
|
||||
// extend_filter_item 체크
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue