aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
-rw-r--r--include/api.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 5d4f54769..cdde7652c 100644
--- a/boot.php
+++ b/boot.php
@@ -1,6 +1,6 @@
<?php
-define ( 'FRIENDIKA_VERSION', '2.2.1056' );
+define ( 'FRIENDIKA_VERSION', '2.2.1057' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1076 );
diff --git a/include/api.php b/include/api.php
index 2b1a8b0f5..31bf0624b 100644
--- a/include/api.php
+++ b/include/api.php
@@ -201,7 +201,7 @@
api_login($a); return False;
} else {
$user = $_SESSION['uid'];
- $extra_query = "AND `contact`.`uid` = %d ";
+ $extra_query = "AND `contact`.`uid` = %d AND `contact`.`self` = 1 ";
}
}