]> git.mxchange.org Git - friendica.git/commitdiff
show correct self profile in api
authorFriendika <info@friendika.com>
Sun, 31 Jul 2011 03:48:55 +0000 (20:48 -0700)
committerFriendika <info@friendika.com>
Sun, 31 Jul 2011 03:48:55 +0000 (20:48 -0700)
boot.php
include/api.php

index 5d4f5476964433fc3887f8a96af2d8438698291b..cdde7652c626d9f897c9262fd1d3104bf3e36b00 100644 (file)
--- 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      );
 
index 2b1a8b0f5a81cfe276391c57e26fe8f2cd402dee..31bf0624bd10206b0022e3e86542a43b7d253e06 100644 (file)
                                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 ";
                        }
                        
                }