And again removed notices
authorMichael <heluecht@pirati.ca>
Thu, 9 Aug 2018 04:20:31 +0000 (04:20 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 9 Aug 2018 04:20:31 +0000 (04:20 +0000)
mod/update_network.php

index 6c02e4a..9c89d1f 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']);