Fix setting of fields when no preferences are set (thanks, patrick)

This commit is contained in:
Miles Lott 2001-03-08 03:26:16 +00:00
parent b2a4c580f1
commit 2df1e99322

View File

@ -73,7 +73,11 @@
}
if (!$columns_to_display ) {
$columns_to_display = array("n_given","n_family","org_name");
$columns_to_display = array(
"n_given" => "n_given",
"n_family" => "n_family",
"org_name" => "org_name"
);
$noprefs=lang("Please set your preferences for this app");
}
$qcols = $columns_to_display;# + array("access");