aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-23 03:12:31 -0700
committerFriendika <info@friendika.com>2011-09-23 03:12:31 -0700
commit3a2bf8ab7ced5f7cc88f8f48b372a0ad08735ed9 (patch)
treefafa7002e190d420602d816c8669788085c8db20 /mod/network.php
parenta2b2318106be9b133a7265697dc8776bcc248839 (diff)
downloadvolse-hubzilla-3a2bf8ab7ced5f7cc88f8f48b372a0ad08735ed9.tar.gz
volse-hubzilla-3a2bf8ab7ced5f7cc88f8f48b372a0ad08735ed9.tar.bz2
volse-hubzilla-3a2bf8ab7ced5f7cc88f8f48b372a0ad08735ed9.zip
w3c compliance fixes, owner attribution on likes defaulting to local owner, not item creator
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 5faeee453..c168f96eb 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -132,6 +132,7 @@ function network_content(&$a, $update = 0) {
$star = ((x($_GET,'star')) ? intval($_GET['star']) : 0);
$bmark = ((x($_GET,'bmark')) ? intval($_GET['bmark']) : 0);
$order = ((x($_GET,'order')) ? notags($_GET['order']) : 'comment');
+ $liked = ((x($_GET,'liked')) ? intval($_GET['liked']) : 0);
if(($a->argc > 2) && $a->argv[2] === 'new')
@@ -195,6 +196,7 @@ function network_content(&$a, $update = 0) {
. ((x($_GET,'star')) ? '&star=' . $_GET['star'] : '')
. ((x($_GET,'order')) ? '&order=' . $_GET['order'] : '')
. ((x($_GET,'bmark')) ? '&bmark=' . $_GET['bmark'] : '')
+ . ((x($_GET,'liked')) ? '&liked=' . $_GET['liked'] : '')
. "'; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
}