provide a controlling user for theme settings, not necessarily local_user() - can't test on my test site so moving into production and I'll debug it there.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
require_once('include/settings.php');
|
||||
|
||||
|
||||
|
||||
function get_theme_config_file($theme){
|
||||
|
||||
$base_theme = get_app()->theme_info['extends'];
|
||||
@@ -16,6 +17,11 @@ function get_theme_config_file($theme){
|
||||
return null;
|
||||
}
|
||||
|
||||
function settings_init(&$a) {
|
||||
$a->profile_uid = local_user();
|
||||
}
|
||||
|
||||
|
||||
function settings_aside(&$a) {
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user