mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
#18621848 : handle default value even it is zero
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7162 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b39cad33e0
commit
aaafd27982
1 changed files with 1 additions and 1 deletions
|
|
@ -469,7 +469,7 @@
|
|||
*/
|
||||
function getDefault($name, $value) {
|
||||
$db_info = Context::getDBInfo ();
|
||||
if(!$value) return;
|
||||
if(!isset($value)) return;
|
||||
$str_pos = strpos($value, '(');
|
||||
if($str_pos===false) return '"'.$value.'"';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue