mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@442 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a41ab13b9b
commit
558b061a83
2 changed files with 3 additions and 5 deletions
|
|
@ -27,10 +27,8 @@
|
|||
|
||||
$attribute = array();
|
||||
if($vars) {
|
||||
foreach($vars as $key=>$val) {
|
||||
debugPrint($val);
|
||||
debugPrint(strpos('|@|', $val));
|
||||
if(strpos('|@|', $val)>0) $val = str_replace('|@|',',',$val);
|
||||
foreach($vars as $key => $val) {
|
||||
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