hubzilla core issue #1262
This commit is contained in:
parent
e5529938ea
commit
df26fec1b3
@ -2047,6 +2047,7 @@ function undo_post_tagging($s) {
|
|||||||
$cnt = preg_match_all('/([@#])(\!*)\[zrl=(.*?)\](.*?)\[\/zrl\]/ism',$s,$matches,PREG_SET_ORDER);
|
$cnt = preg_match_all('/([@#])(\!*)\[zrl=(.*?)\](.*?)\[\/zrl\]/ism',$s,$matches,PREG_SET_ORDER);
|
||||||
if($cnt) {
|
if($cnt) {
|
||||||
foreach($matches as $mtch) {
|
foreach($matches as $mtch) {
|
||||||
|
$x = false;
|
||||||
if($mtch[1] === '@') {
|
if($mtch[1] === '@') {
|
||||||
$x = q("select xchan_addr, xchan_url from xchan where xchan_url = '%s' limit 1",
|
$x = q("select xchan_addr, xchan_url from xchan where xchan_url = '%s' limit 1",
|
||||||
dbesc($mtch[3])
|
dbesc($mtch[3])
|
||||||
|
Reference in New Issue
Block a user