X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_network.php;h=6ba761d04acf861382fc9714688fdbb83ce5fd67;hb=b55546b72649a645987e017397901a86122eba67;hp=962701627a2979d68c30b77e540a197f1f45771d;hpb=e1dd1aa35804f1fed565f7a0538bf45aaa32f2ff;p=friendica.git diff --git a/mod/update_network.php b/mod/update_network.php index 962701627a..6ba761d04a 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'])) { + exit(); + } + $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"; @@ -44,5 +44,5 @@ function update_network_content(App $a) echo str_replace("\t", " ", $text); echo ""; echo "\r\n"; - killme(); + exit(); }