1
0
Fork 0

Merge pull request #2110 from annando/1511-subscribe-feed

Issue 1779: Atom feed link under the connect link on the profile page
This commit is contained in:
Tobias Diekershoff 2015-11-29 08:40:39 +01:00
commit be40fb8186
14 changed files with 37 additions and 5 deletions

View file

@ -362,8 +362,7 @@ function item_post(&$a) {
if((local_user()) && (local_user() == $profile_uid)) {
$self = true;
$r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 1 LIMIT 1",
intval($_SESSION['uid'])
);
intval($_SESSION['uid']));
}
elseif(remote_user()) {
if(is_array($_SESSION['remote'])) {