Skip to content

Commit d2c060a

Browse files
committed
pkp#8845 Removed duplicated keys
1 parent dbd397c commit d2c060a

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

classes/components/forms/site/PKPSiteStatisticsForm.php

-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ public function __construct(string $action, array $locales, Site $site)
154154
->addField(new FieldOptions('isSiteSushiPlatform', [
155155
'label' => __('admin.settings.statistics.sushiPlatform'),
156156
'description' => __('admin.settings.statistics.sushiPlatform.description'),
157-
'groupId' => 'sushi',
158157
'options' => [
159158
[
160159
'value' => true,

classes/form/FormBuilderVocabulary.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ public function _smartyFBVSubLabel($params, $smarty)
857857

858858
$returner = '';
859859

860-
$smarty->assign(['FBV_suppressId' => null, 'FBV_label' => null, 'FBV_required' => false, 'FBV_uniqId' => null, 'FBV_multilingual' => false, 'FBV_required' => false]);
860+
$smarty->assign(['FBV_suppressId' => null, 'FBV_label' => null, 'FBV_required' => false, 'FBV_uniqId' => null, 'FBV_multilingual' => false]);
861861
foreach ($params as $key => $value) {
862862
switch ($key) {
863863
case 'subLabelTranslate': $smarty->assign('FBV_subLabelTranslate', $value);

tests/classes/config/ConfigTest.php

-4
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ public function testReloadDataAndGetData()
7373
'session_cookie_name' => 'OJSSID',
7474
'session_lifetime' => 30,
7575
'scheduled_tasks' => false,
76-
'date_format_short' => '%Y-%m-%d',
77-
'date_format_long' => '%B %e, %Y',
78-
'datetime_format_short' => '%Y-%m-%d %I:%M %p',
79-
'datetime_format_long' => '%B %e, %Y - %I:%M %p',
8076
'date_format_short' => 'Y-m-d',
8177
'date_format_long' => 'F j, Y',
8278
'datetime_format_short' => 'Y-m-d h:i A',

0 commit comments

Comments
 (0)