]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
Merge remote branch 'upstream/master'
[friendica.git] / include / api.php
index cd8526f89564e64e6a221edebd3bccd126196243..9925b57663a9a00f01c2ed759df7399e9dfec098 100644 (file)
                 else
                         $sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where ( `author-link` like '%s' or `tag` like '%s' or tag like '%s' )) ",
                                 dbesc(protect_sprintf('%' . $myurl)),
-                                dbesc(protect_sprintf('%' . $myurl . '\\]%')),
-                                dbesc(protect_sprintf('%' . $diasp_url . '\\]%'))
+                                dbesc(protect_sprintf('%' . $myurl . ']%')),
+                                dbesc(protect_sprintf('%' . $diasp_url . ']%'))
                         );
 
                if ($max_id > 0)