]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #5592 from annando/avoid-probe
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 9 Aug 2018 07:16:11 +0000 (09:16 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Aug 2018 07:16:11 +0000 (09:16 +0200)
Avoid probing for contacts if we don't want to update

mod/update_network.php

index 9c89d1fcdd6b7bacf244e2533b7078faecfad3d2..11dfc5e03c8de2f469a134de5ffe02195800e078 100644 (file)
@@ -12,7 +12,7 @@ require_once "mod/network.php";
 
 function update_network_content(App $a)
 {
-       if (empty($_GET['p']) || empty($_GET['item'])) {
+       if (!isset($_GET['p']) || !isset($_GET['item'])) {
                killme();
        }