X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_network.php;h=6ba761d04acf861382fc9714688fdbb83ce5fd67;hb=b55546b72649a645987e017397901a86122eba67;hp=962701627a2979d68c30b77e540a197f1f45771d;hpb=dccf07c6d8596314c2705786e95eb7dfbd1667c0;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 = "
" . L10n::t("[Embedded content - reload page to view]") . "
";
$pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
@@ -44,5 +44,5 @@ function update_network_content(App $a)
echo str_replace("\t", " ", $text);
echo "";
echo "