Browse Source

show correct self profile in api

pull/1/head
Friendika 11 years ago
parent
commit
149d52da8b
  1. 2
      boot.php
  2. 2
      include/api.php

2
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 );

2
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 ";
}
}

Loading…
Cancel
Save