Commit 9027efe7 authored by Zot's avatar Zot

undefined diaspora_build_relay_tags() in addon/diaspora/Mod_diaspora.php

parent c50652b6
......@@ -6,6 +6,8 @@ use App;
use Zotlabs\Lib\Apps;
use Zotlabs\Web\Controller;
require_once('addon/diaspora/util.php'); // needed for diaspora_build_relay_tags()
class Diaspora extends Controller {
function post() {
......
......@@ -904,7 +904,7 @@ function pubcrawl_item_mod_init($x) {
if ($xchans) {
$hashes = ids_to_querystr($xchans,'xchan_hash',true);
$i = q("select id as item_id from item where mid = '%s' $item_normal and owner_xchan in ( " . protect_sprintf($hashes) . " ) ",
$i = q("select id as item_id from item where mid = '%s' $item_normal and owner_xchan in ( " . protect_sprintf($hashes) . " ) limit 1",
dbesc($r[0]['parent_mid'])
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment