Index: trunk/globals.php =================================================================== diff -u -r3148 -r3179 --- trunk/globals.php (.../globals.php) (revision 3148) +++ trunk/globals.php (.../globals.php) (revision 3179) @@ -1658,7 +1658,7 @@ // if update var count is zero, then do nothing if( !is_array($update) || count($update) == 0 ) return ''; - + // ensure that we have no empty values in enviroment variable foreach($update as $vl_key => $vl_value) { if(!$vl_value) $update[$vl_key] = '0'; // unset($update[$vl_key]); @@ -1670,7 +1670,9 @@ $ret = Array(); foreach($var_list as $var_name) { - $ret[] = GetEnvVar($prefix, $var_name); + $value = GetEnvVar($prefix, $var_name); + if(!$value && $var_name == 'id') $value = '0'; + $ret[] = $value; } // Removing all var_list_udpate