projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8c60c2
)
Missed adding a json_decode().
author
Jan Schneider
<jan@horde.org>
Wed, 12 May 2010 14:36:50 +0000
(16:36 +0200)
committer
Jan Schneider
<jan@horde.org>
Wed, 12 May 2010 14:36:50 +0000
(16:36 +0200)
turba/lib/Turba.php
patch
|
blob
|
history
diff --git
a/turba/lib/Turba.php
b/turba/lib/Turba.php
index
a468495
..
e13f763
100644
(file)
--- a/
turba/lib/Turba.php
+++ b/
turba/lib/Turba.php
@@
-583,7
+583,7
@@
class Turba {
/* Add the new addressbook to the user's list of visible address
* books. */
- $prefs =
$GLOBALS['prefs']->getValue('addressbooks'
);
+ $prefs =
json_decode($GLOBALS['prefs']->getValue('addressbooks')
);
if (array_search($share_id, $prefs) === false) {
$prefs[] = $share_id;
$GLOBALS['prefs']->setValue('addressbooks', json_encode($prefs));