aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2012-10-09 21:05:10 -0700
committerEvan Winslow <evan@elgg.org>2012-10-09 21:05:10 -0700
commit34d9658c983861862d5a40198461e74f61a7b92e (patch)
treeecd8a85289afa7eb6a7c13241925dde262635c69 /views/default
parent7239da3fb83bbfdd414f96339ef33fee4d68554e (diff)
parentbefb1d929440fcf3ecf903e7c1784f394cdd34d5 (diff)
downloadelgg-34d9658c983861862d5a40198461e74f61a7b92e.tar.gz
elgg-34d9658c983861862d5a40198461e74f61a7b92e.tar.bz2
Merge pull request #389 from jeabakker/#4870
Fixes #4870 - inconsistency in Account statistics
Diffstat (limited to 'views/default')
-rw-r--r--views/default/core/settings/statistics/numentities.php2
-rw-r--r--views/default/core/settings/statistics/online.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/core/settings/statistics/numentities.php b/views/default/core/settings/statistics/numentities.php
index ce1705a2e..3782fd8bc 100644
--- a/views/default/core/settings/statistics/numentities.php
+++ b/views/default/core/settings/statistics/numentities.php
@@ -7,7 +7,7 @@
*/
// Get entity statistics
-$entity_stats = get_entity_statistics(elgg_get_logged_in_user_guid());
+$entity_stats = get_entity_statistics(elgg_get_page_owner_guid());
if ($entity_stats) {
$rows = '';
diff --git a/views/default/core/settings/statistics/online.php b/views/default/core/settings/statistics/online.php
index ce7ff35fb..f50ad9acc 100644
--- a/views/default/core/settings/statistics/online.php
+++ b/views/default/core/settings/statistics/online.php
@@ -6,7 +6,7 @@
* @subpackage Core
*/
-$user = elgg_get_logged_in_user_entity();
+$user = elgg_get_page_owner_entity();
$logged_in = 0;
$log = get_system_log($user->guid, "login", "", 'user', '', 1);