mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
#133 PHP 5.4 이상에서의 호환성 개선
This commit is contained in:
parent
23406d1708
commit
1b60833bad
17 changed files with 78 additions and 31 deletions
|
|
@ -900,12 +900,12 @@ class documentItem extends Object
|
|||
$buffs = $this->getExtraImages($time_check);
|
||||
if(!count($buffs)) return;
|
||||
|
||||
$buff = null;
|
||||
$buff = array();
|
||||
foreach($buffs as $key => $val)
|
||||
{
|
||||
$buff .= sprintf('<img src="%s%s.gif" alt="%s" title="%s" style="margin-right:2px;" />', $path, $val, $val, $val);
|
||||
$buff[] = sprintf('<img src="%s%s.gif" alt="%s" title="%s" style="margin-right:2px;" />', $path, $val, $val, $val);
|
||||
}
|
||||
return $buff;
|
||||
return implode('', $buff);
|
||||
}
|
||||
|
||||
function hasUploadedFiles()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue