After a post only the single post is now updated

This commit is contained in:
Michael
2018-02-27 21:10:05 +00:00
parent 99bea7f4c4
commit 4070ad1815
3 changed files with 755 additions and 774 deletions
+3 -2
View 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 = "";
}