X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_network.php;h=11dfc5e03c8de2f469a134de5ffe02195800e078;hb=070e1e73d60295e616314c952199fd4b0b209f2d;hp=962701627a2979d68c30b77e540a197f1f45771d;hpb=b02cdc8a7f84a4931e80027de42a80daa58581e1;p=friendica.git diff --git a/mod/update_network.php b/mod/update_network.php index 962701627a..11dfc5e03c 100644 --- a/mod/update_network.php +++ b/mod/update_network.php @@ -12,6 +12,10 @@ require_once "mod/network.php"; function update_network_content(App $a) { + if (!isset($_GET['p']) || !isset($_GET['item'])) { + killme(); + } + $profile_uid = intval($_GET['p']); $parent = intval($_GET['item']); @@ -25,10 +29,6 @@ function update_network_content(App $a) $text = ""; } - $pattern = "/]*) src=\"([^\"]*)\"/"; - $replace = ""; $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";