skip the empty (NULL) row

This commit is contained in:
Ralf Becker 2011-09-09 19:55:22 +00:00
parent 791f4ae071
commit d2adcf972d

View File

@ -1466,7 +1466,7 @@ class so_sql
{
$data = $row[current($cols)];
}
$ret[$row[$key_col]] = $data;
if ($data) $ret[$row[$key_col]] = $data;
}
}
return $cache[$cache_key] =& $ret;