]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_network.php
Merge pull request #7893 from annando/api-attachments
[friendica.git] / mod / update_network.php
index 6c02e4a8fabf98ad212b5e6153f8cabead1f4136..6ba761d04acf861382fc9714688fdbb83ce5fd67 100644 (file)
@@ -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']);
 
@@ -40,5 +44,5 @@ function update_network_content(App $a)
        echo str_replace("\t", "       ", $text);
        echo "</section>";
        echo "</body></html>\r\n";
-       killme();
+       exit();
 }