]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_network.php
Decrease scope of query in Profile::getEventsReminderHTML
[friendica.git] / mod / update_network.php
index fddbeba397e30db851ef3c251744f9f4835368b7..88b6fa2ee3b83e38a33f805d710ad0150d7d803a 100644 (file)
@@ -12,14 +12,15 @@ require_once "mod/network.php";
 
 function update_network_content(App $a)
 {
-       $profile_uid = intval($_GET["p"]);
+       $profile_uid = intval($_GET['p']);
+       $parent = intval($_GET['item']);
 
        header("Content-type: text/html");
        echo "<!DOCTYPE html><html><body>\r\n";
        echo "<section>";
 
        if (!PConfig::get($profile_uid, "system", "no_auto_update") || ($_GET["force"] == 1)) {
-               $text = network_content($a, $profile_uid);
+               $text = network_content($a, $profile_uid, $parent);
        } else {
                $text = "";
        }