aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/directory.php2
-rw-r--r--mod/suggest.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 2a4672039..38dd9687a 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -90,7 +90,7 @@ function directory_content(&$a) {
$common = array();
$index = 0;
foreach($r as $rr) {
-// $common[$rr['xchan_addr']] = $rr['total'];
+ $common[$rr['xchan_addr']] = $rr['total'];
$addresses[$rr['xchan_addr']] = $index++;
}
diff --git a/mod/suggest.php b/mod/suggest.php
index fec0e85a4..438d884ca 100644
--- a/mod/suggest.php
+++ b/mod/suggest.php
@@ -44,6 +44,7 @@ function suggest_content(&$a) {
$arr[] = array(
'url' => chanlink_url($rr['xchan_url']),
+ 'common' => $rr['total'],
'profile' => $rr['xchan_url'],
'name' => $rr['xchan_name'],
'photo' => $rr['xchan_photo_m'],