]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #5589 from annando/and-again
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 9 Aug 2018 04:28:23 +0000 (06:28 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Aug 2018 04:28:23 +0000 (06:28 +0200)
And again removed notices

mod/update_network.php

index 6c02e4a8fabf98ad212b5e6153f8cabead1f4136..9c89d1fcdd6b7bacf244e2533b7078faecfad3d2 100644 (file)
@@ -12,6 +12,10 @@ require_once "mod/network.php";
 
 function update_network_content(App $a)
 {
+       if (empty($_GET['p']) || empty($_GET['item'])) {
+               killme();
+       }
+
        $profile_uid = intval($_GET['p']);
        $parent = intval($_GET['item']);