From df26fec1b3eff35179543bfdbaf51b3124390fc1 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Fri, 17 Aug 2018 21:21:02 -0700 Subject: hubzilla core issue #1262 --- include/text.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/text.php b/include/text.php index c4f253a27..8a07dc113 100644 --- a/include/text.php +++ b/include/text.php @@ -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]) -- cgit v1.2.3