diff options
author | friendica <info@friendica.com> | 2014-02-24 15:07:00 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-24 15:07:00 -0800 |
commit | 29ebfc25ca4c7c475437dd02418eb6f4fc17c952 (patch) | |
tree | 2c368835e37031500269b25597e5493cdc0597e1 /include/identity.php | |
parent | b2372c0c8f0b6e46874973731e74cc10d767ca0f (diff) | |
download | volse-hubzilla-29ebfc25ca4c7c475437dd02418eb6f4fc17c952.tar.gz volse-hubzilla-29ebfc25ca4c7c475437dd02418eb6f4fc17c952.tar.bz2 volse-hubzilla-29ebfc25ca4c7c475437dd02418eb6f4fc17c952.zip |
take a p
Diffstat (limited to 'include/identity.php')
-rw-r--r-- | include/identity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php index 9aa7d98c0..2e611625a 100644 --- a/include/identity.php +++ b/include/identity.php @@ -514,7 +514,7 @@ function profile_load(&$a, $nickname, $profile = '') { } if(! $p) { - $r = q("SELECT profile.uid AS profile_uid, profile.*, channel.* FROM profile + $p = q("SELECT profile.uid AS profile_uid, profile.*, channel.* FROM profile LEFT JOIN channel ON profile.uid = channel.channel_id WHERE channel.channel_address = '%s' and not ( channel_pageflags & %d ) AND profile.is_default = 1 LIMIT 1", |