aboutsummaryrefslogtreecommitdiff
path: root/mod/defaultwidgets/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/defaultwidgets/views/default')
-rw-r--r--mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php2
-rw-r--r--mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php b/mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php
index b6cc010df..e4a6ca51f 100644
--- a/mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php
+++ b/mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php
@@ -7,7 +7,7 @@
**/
// Set admin user for user block
-set_page_owner(get_loggedin_userid());
+set_page_owner(elgg_get_logged_in_user_guid());
// create the view
$time = time();
diff --git a/mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php b/mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php
index bb1f3fbe0..b95a123eb 100644
--- a/mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php
+++ b/mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php
@@ -7,7 +7,7 @@
**/
// set admin user for user block
-set_page_owner(get_loggedin_userid());
+set_page_owner(elgg_get_logged_in_user_guid());
// create the view
$time = time();