git-svn-id: http://xe-core.googlecode.com/svn/trunk@974 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-05 05:15:02 +00:00
parent 1640c71a30
commit 2828c28bcc
4 changed files with 3 additions and 4 deletions

View file

@ -91,7 +91,7 @@
* @brief column, condition등의 key에 default 값을 세팅
**/
function _getDefaultCode($name, $value) {
if(!$value) return;
if(!isset($value)) return;
if(substr($value, -1)!=')') return sprintf('if(!$args->%s) $args->%s = \'%s\';'."\n", $name, $name, $value);
$str_pos = strpos($value, '(');