hubzilla core issue #1262

This commit is contained in:
zotlabs 2018-08-17 21:21:02 -07:00
parent e5529938ea
commit df26fec1b3

View File

@ -2047,6 +2047,7 @@ function undo_post_tagging($s) {
$cnt = preg_match_all('/([@#])(\!*)\[zrl=(.*?)\](.*?)\[\/zrl\]/ism',$s,$matches,PREG_SET_ORDER);
if($cnt) {
foreach($matches as $mtch) {
$x = false;
if($mtch[1] === '@') {
$x = q("select xchan_addr, xchan_url from xchan where xchan_url = '%s' limit 1",
dbesc($mtch[3])