diff options
Diffstat (limited to 'mod/defaultwidgets/views')
-rw-r--r-- | mod/defaultwidgets/views/default/admin/appearance/default_dashboard_widgets.php | 2 | ||||
-rw-r--r-- | mod/defaultwidgets/views/default/admin/appearance/default_profile_widgets.php | 2 |
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 6efcd5b51..b6cc010df 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($_SESSION['guid']); +set_page_owner(get_loggedin_userid()); // 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 2abbf02e4..bb1f3fbe0 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($_SESSION['guid']); +set_page_owner(get_loggedin_userid()); // create the view $time = time(); |