aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-08-17 21:21:02 -0700
committerzotlabs <mike@macgirvin.com>2018-08-17 21:21:02 -0700
commitdf26fec1b3eff35179543bfdbaf51b3124390fc1 (patch)
treedc9efb68a50e88d3883104b83ca4c75e8d0bc19f /include
parente5529938ea029ac0f416f96fbdc481f66001d0eb (diff)
downloadvolse-hubzilla-df26fec1b3eff35179543bfdbaf51b3124390fc1.tar.gz
volse-hubzilla-df26fec1b3eff35179543bfdbaf51b3124390fc1.tar.bz2
volse-hubzilla-df26fec1b3eff35179543bfdbaf51b3124390fc1.zip
hubzilla core issue #1262
Diffstat (limited to 'include')
-rw-r--r--include/text.php1
1 files changed, 1 insertions, 0 deletions
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])