aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-29 19:31:52 -0800
committerredmatrix <git@macgirvin.com>2016-02-29 19:31:52 -0800
commitbe2b7c0b5f7f9b8080affbb4bc44c5adda18e82f (patch)
tree6dde06168b0df62044a3fdeaf2b4b9b649165d7a /include/identity.php
parent44b2503572700ab24e7afad4637f62c413d3d489 (diff)
downloadvolse-hubzilla-be2b7c0b5f7f9b8080affbb4bc44c5adda18e82f.tar.gz
volse-hubzilla-be2b7c0b5f7f9b8080affbb4bc44c5adda18e82f.tar.bz2
volse-hubzilla-be2b7c0b5f7f9b8080affbb4bc44c5adda18e82f.zip
abconfig
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/identity.php b/include/identity.php
index caf2de710..478079d39 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -505,8 +505,12 @@ function identity_basic_export($channel_id, $items = false) {
if($r) {
$ret['abook'] = $r;
- foreach($r as $rr)
- $xchans[] = $rr['abook_xchan'];
+ for($x = 0; $x < count($ret['abook']); $x ++) {
+ $xchans[] = $ret['abook'][$x]['abook_chan'];
+ $abconfig = load_abconfig($ret['channel']['channel_hash'],$ret['abook'][$x]['abook_xchan']);
+ if($abconfig)
+ $ret['abook'][$x]['abconfig'] = $abconfig;
+ }
stringify_array_elms($xchans);
}