From e0b94d1c9d08ff8a0d94ba0aa507b33c3858244a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 9 Jun 2010 09:55:09 -0600 Subject: [PATCH] Bug #9087: Fix prefs documentation --- imp/config/prefs.php.dist | 2 +- kronolith/config/prefs.php.dist | 2 +- turba/config/prefs.php.dist | 2 +- whups/config/prefs.php.dist | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/imp/config/prefs.php.dist b/imp/config/prefs.php.dist index 1c35b0822..8359d5706 100644 --- a/imp/config/prefs.php.dist +++ b/imp/config/prefs.php.dist @@ -1435,7 +1435,7 @@ $_prefs['sourceselect'] = array( // Refer to turba/config/sources.php for possible source values // // You can provide default values this way: -// 'value' => json_encode('source_one', 'source_two') +// 'value' => json_encode(array('source_one', 'source_two')) $_prefs['search_sources'] = array( 'value' => '' ); diff --git a/kronolith/config/prefs.php.dist b/kronolith/config/prefs.php.dist index 2fd6aaa83..34eb0184c 100644 --- a/kronolith/config/prefs.php.dist +++ b/kronolith/config/prefs.php.dist @@ -320,7 +320,7 @@ $_prefs['sourceselect'] = array('type' => 'special'); // Refer to turba/config/sources.php for possible source values // // You can provide default values this way: -// 'value' => json_encode('source_one', 'source_two') +// 'value' => json_encode(array('source_one', 'source_two')) $_prefs['search_sources'] = array( 'value' => '' ); diff --git a/turba/config/prefs.php.dist b/turba/config/prefs.php.dist index 3f736a4be..034560c30 100644 --- a/turba/config/prefs.php.dist +++ b/turba/config/prefs.php.dist @@ -42,7 +42,7 @@ $_prefs['addressbookselect'] = array( // and in the Browse menu item. The address book name is stored using // the source key from sources.php (e.g. "localsql"). // You can provide default values this way: -// 'value' => json_encode('source_one', 'source_two') +// 'value' => json_encode(array('source_one', 'source_two')) // If 'value' is empty (''), all address books that the user has permissions // to will be listed. $_prefs['addressbooks'] = array( diff --git a/whups/config/prefs.php.dist b/whups/config/prefs.php.dist index dcc34a2aa..cf057f1a5 100644 --- a/whups/config/prefs.php.dist +++ b/whups/config/prefs.php.dist @@ -147,7 +147,7 @@ $_prefs['sourceselect'] = array('type' => 'special'); // Refer to turba/config/sources.php for possible source values // // You can provide default values this way: -// 'value' => json_encode('source_one', 'source_two') +// 'value' => json_encode(array('source_one', 'source_two')) $_prefs['search_sources'] = array( 'value' => '' -- 2.11.0