fix verb for reshares
This commit is contained in:
parent
96a4fc7ca2
commit
7f6e4a9744
@ -639,9 +639,9 @@ class Item extends Controller {
|
|||||||
|
|
||||||
|
|
||||||
if(preg_match_all('/(\[share=(.*?)\](.*?)\[\/share\])/',$body,$match)) {
|
if(preg_match_all('/(\[share=(.*?)\](.*?)\[\/share\])/',$body,$match)) {
|
||||||
|
|
||||||
// process share by id
|
// process share by id
|
||||||
|
|
||||||
$verb = ACTIVITY_SHARE;
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
foreach($match[2] as $mtch) {
|
foreach($match[2] as $mtch) {
|
||||||
$reshare = new \Zotlabs\Lib\Share($mtch);
|
$reshare = new \Zotlabs\Lib\Share($mtch);
|
||||||
|
Reference in New Issue
Block a user