mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix columns
This commit is contained in:
@@ -494,6 +494,8 @@ if ( ! class_exists( 'um\admin\core\Admin_Builder' ) ) {
|
||||
|
||||
if ( !isset( $array['cols'] ) ){
|
||||
$col_num = 1;
|
||||
} elseif ( is_numeric( $array['cols'] ) ) {
|
||||
$col_num = (int) $array['cols'];
|
||||
} else {
|
||||
|
||||
$col_split = explode(':', $array['cols'] );
|
||||
|
||||
Reference in New Issue
Block a user