mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Db Bug fix - skip condition if value is empty array.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9545 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
308d1606a7
commit
9890b889ca
2 changed files with 14 additions and 1 deletions
|
|
@ -57,7 +57,7 @@
|
|||
}
|
||||
|
||||
function toString($value){
|
||||
if(is_array($value)) return '('.implode(',', $value).')';
|
||||
if(is_array($value)) return (count($value) !== 0 ? '('.implode(',', $value).')' : '');
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue