- fixed default values on Add User Role;

- fixed some PHP notices;
This commit is contained in:
nikitozzzzzzz
2018-02-20 17:19:30 +02:00
parent 1b03923c6b
commit 7bd09d77c4
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
'type' => 'checkbox',
'label' => __( 'Force hiding adminbar in frontend?', 'ultimate-member' ),
'tooltip' => __( 'Show/hide the adminbar on frontend', 'ultimate-member' ),
'value' => ! empty( $role['_um_can_not_see_adminbar'] ) ? $role['_um_can_not_see_adminbar'] : 0,
'value' => ! empty( $role['_um_can_not_see_adminbar'] ) ? $role['_um_can_not_see_adminbar'] : 1,
),
array(
'id' => '_um_can_edit_everyone',