From 0453a43194ddff7a3aad576359b50ee0d0b64c64 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 10 Apr 2019 11:19:41 -0600 Subject: [PATCH] Keep documentation from preference changes when opened from top bar --- preferences/inc/class.preferences_settings.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index c65be3536a..725b0d394f 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -66,7 +66,7 @@ class preferences_settings } else { - $is_admin = $content['is_admin']; + $is_admin = $content['is_admin'] || $content['type'] != 'user'; //error_log(__METHOD__."(".array2string($content).")"); if ($content['button']) {