Skip to content

Commit 551667a

Browse files
committed
Add a space in the duplicate label logic so it looks more clean
1 parent d0576cb commit 551667a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

classes/PodsAPI.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6559,7 +6559,7 @@ public function duplicate_pod( $params, $strict = false ) {
65596559
}
65606560

65616561
$check_name = $check_name_limited . $try;
6562-
$new_label = $pod['label'] . $try;
6562+
$new_label = $pod['label'] . ' ' . $try;
65636563
}
65646564

65656565
$pod['name'] = $check_name;
@@ -6693,7 +6693,7 @@ public function duplicate_group( $params, $strict = false ) {
66936693
$try ++;
66946694

66956695
$check_name = $group['name'] . $try;
6696-
$new_label = $group['label'] . $try;
6696+
$new_label = $group['label'] . ' ' . $try;
66976697
}
66986698

66996699
$group['name'] = $check_name;
@@ -6803,7 +6803,7 @@ public function duplicate_field( $params, $strict = false ) {
68036803
$try ++;
68046804

68056805
$check_name = $field['name'] . $try;
6806-
$new_label = $field['label'] . $try;
6806+
$new_label = $field['label'] . ' ' . $try;
68076807
}
68086808

68096809
$field['name'] = $check_name;

0 commit comments

Comments
 (0)