Skip to content

Commit b08efee

Browse files
authored
fix the parameter formats of both, pagination and cache (joomla#43983)
1 parent d45157b commit b08efee

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

libraries/src/Cache/Cache.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -682,10 +682,10 @@ public static function makeId()
682682

683683
// Platform defaults
684684
$defaulturlparams = [
685-
'format' => 'WORD',
686-
'option' => 'WORD',
687-
'view' => 'WORD',
688-
'layout' => 'WORD',
685+
'format' => 'CMD',
686+
'option' => 'CMD',
687+
'view' => 'CMD',
688+
'layout' => 'CMD',
689689
'tpl' => 'CMD',
690690
'id' => 'STRING',
691691
];

libraries/src/Pagination/Pagination.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -665,10 +665,10 @@ protected function _buildDataObject()
665665

666666
// Platform defaults
667667
$defaultUrlParams = [
668-
'format' => 'WORD',
669-
'option' => 'WORD',
670-
'controller' => 'WORD',
671-
'view' => 'WORD',
668+
'format' => 'CMD',
669+
'option' => 'CMD',
670+
'controller' => 'CMD',
671+
'view' => 'CMD',
672672
'layout' => 'STRING',
673673
'task' => 'CMD',
674674
'template' => 'CMD',

0 commit comments

Comments
 (0)