diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-07-09 20:17:20 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-07-09 20:17:20 -0400 |
commit | 47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e (patch) | |
tree | fc325d9c111777700be5f69d0046940387196da6 /include/bb2diaspora.php | |
parent | 0630609d6e60085f20d1430fd4044775dd9af5e9 (diff) | |
parent | e2574cf069dc29b1e8ca6bd64ee78b262206cef4 (diff) | |
download | volse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.tar.gz volse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.tar.bz2 volse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.zip |
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r-- | include/bb2diaspora.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index c7d0e56b1..16f67dc4a 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -302,11 +302,11 @@ function bb2diaspora_itemwallwall(&$item) { } } - if(($wallwall) && (is_array($item['author'])) && $item['author']['xchan_url'] && $item['author']['xchan_name'] && $item['author']['xchan_photo_m']) { + if(($wallwall) && (is_array($item['author'])) && $item['author']['xchan_url'] && $item['author']['xchan_name'] && $item['author']['xchan_photo_s']) { logger('bb2diaspora_itemwallwall: wall to wall post',LOGGER_DEBUG); // post will come across with the owner's identity. Throw a preamble onto the post to indicate the true author. $item['body'] = "\n\n" - . '[img]' . $item['author']['xchan_photo_m'] . '[/img]' + . '[img]' . $item['author']['xchan_photo_s'] . '[/img]' . '[url=' . $item['author']['xchan_url'] . ']' . $item['author']['xchan_name'] . '[/url]' . "\n\n" . $item['body']; } |