X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fthreads.php;h=2e02e7ada3290ae0ecb690cad1d6ca912e307379;hb=6601e8c2b74f0ebd4e224713e7feadbe9b09d330;hp=0b2b26e8d242886b870fa3595563d031c23e4f32;hpb=55205e344f8b5dd48fd56f12b2b3db928d57162d;p=friendica.git diff --git a/include/threads.php b/include/threads.php index 0b2b26e8d2..2e02e7ada3 100644 --- a/include/threads.php +++ b/include/threads.php @@ -176,7 +176,7 @@ function delete_thread($itemid, $itemuri = "") { intval($item["uid"]) ); if (!count($r)) { - $r = q("DELETE FROM `item` WHERE `uri` = '%s' AND `uid` = 0)", + $r = q("DELETE FROM `item` WHERE `uri` = '%s' AND `uid` = 0", dbesc($itemuri) ); logger("delete_thread: Deleted shadow for item ".$itemuri." - ".print_r($result, true), LOGGER_DEBUG);