Keep documentation from preference changes when opened from top bar

This commit is contained in:
nathangray 2019-04-10 11:19:41 -06:00
parent d2bac9d654
commit 0453a43194

View File

@ -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'])
{