mirror of
https://github.com/friendica/friendica
synced 2024-12-23 14:00:15 +00:00
show correct self profile in api
This commit is contained in:
parent
60caffcd77
commit
149d52da8b
2 changed files with 2 additions and 2 deletions
2
boot.php
2
boot.php
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
define ( 'FRIENDIKA_VERSION', '2.2.1056' );
|
define ( 'FRIENDIKA_VERSION', '2.2.1057' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1076 );
|
define ( 'DB_UPDATE_VERSION', 1076 );
|
||||||
|
|
||||||
|
|
|
@ -201,7 +201,7 @@
|
||||||
api_login($a); return False;
|
api_login($a); return False;
|
||||||
} else {
|
} else {
|
||||||
$user = $_SESSION['uid'];
|
$user = $_SESSION['uid'];
|
||||||
$extra_query = "AND `contact`.`uid` = %d ";
|
$extra_query = "AND `contact`.`uid` = %d AND `contact`.`self` = 1 ";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue