mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
#19009343 strlen 함수에 배열이 주어졌을 때 에러가 발생하던 버그 수정(버그 회피)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8154 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f6961a42ba
commit
ec333036a4
1 changed files with 1 additions and 1 deletions
|
|
@ -557,7 +557,7 @@
|
|||
foreach($args as $key => $val) {
|
||||
if(!is_string($val . "")) continue;
|
||||
if(in_array($key, array('class','style','widget_padding_top','widget_padding_right','widget_padding_bottom','widget_padding_left','widget'))) continue;
|
||||
if(strlen($val)==0) continue;
|
||||
if(!is_string($val) || strlen($val)==0) continue;
|
||||
if(strpos($val,'|@|')>0) $val = str_replace('|@|',',',$val);
|
||||
$attribute[] = sprintf('%s="%s"', $key, str_replace('"','\"',$val));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue