From 2df1e99322e188a5362f2679981519b99005e8d6 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 8 Mar 2001 03:26:16 +0000 Subject: [PATCH] Fix setting of fields when no preferences are set (thanks, patrick) --- addressbook/index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addressbook/index.php b/addressbook/index.php index f00fd58330..cea328fc82 100755 --- a/addressbook/index.php +++ b/addressbook/index.php @@ -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");