Bug fixes and changes to URL field.

This commit is contained in:
vyshane
2006-03-24 14:34:00 +00:00
parent 5bac6d10e3
commit faf5ec4fa5
6 changed files with 63 additions and 16 deletions
+1 -1
View File
@@ -318,7 +318,7 @@ function data_generate_default_template($data, $template, $recordid=0, $form=fal
}
//get all the fields for that database
if ($fields = get_records('data_fields', 'dataid', $data->id)) {
if ($fields = get_records('data_fields', 'dataid', $data->id, 'id')) {
$str = '<div align="center">';
$str .= '<table>';