aboutsummaryrefslogtreecommitdiffstats
path: root/mod/intro.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/intro.php')
-rw-r--r--mod/intro.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/mod/intro.php b/mod/intro.php
index 4b9d63629..dd98a6c7b 100644
--- a/mod/intro.php
+++ b/mod/intro.php
@@ -31,6 +31,12 @@ function intro_post(&$a) {
}
+function intro_aside(&$a) {
+ require_once('include/contact_widgets.php');
+
+ $a->set_widget('follow', follow_widget());
+
+}
function intro_content(&$a) {
@@ -54,12 +60,12 @@ function intro_content(&$a) {
$a->set_pager_total($r[0]['total']);
if(! intval($r[0]['total'])) {
notice( t('No pending introductions.') . EOL);
- return;
+ return $o;
}
}
else {
notice( t('System error. Please try again later.') . EOL);
- return;
+ return $o;
}
$r = q("select abook.*, xchan.* from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and (abook_flags & %d) and not (abook_flags & %d) LIMIT %d, %d",