Skip to content

Commit

Permalink
fix the parameter formats of both, pagination and cache (joomla#43983)
Browse files Browse the repository at this point in the history
  • Loading branch information
SniperSister authored Aug 25, 2024
1 parent d45157b commit b08efee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions libraries/src/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -682,10 +682,10 @@ public static function makeId()

// Platform defaults
$defaulturlparams = [
'format' => 'WORD',
'option' => 'WORD',
'view' => 'WORD',
'layout' => 'WORD',
'format' => 'CMD',
'option' => 'CMD',
'view' => 'CMD',
'layout' => 'CMD',
'tpl' => 'CMD',
'id' => 'STRING',
];
Expand Down
8 changes: 4 additions & 4 deletions libraries/src/Pagination/Pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -665,10 +665,10 @@ protected function _buildDataObject()

// Platform defaults
$defaultUrlParams = [
'format' => 'WORD',
'option' => 'WORD',
'controller' => 'WORD',
'view' => 'WORD',
'format' => 'CMD',
'option' => 'CMD',
'controller' => 'CMD',
'view' => 'CMD',
'layout' => 'STRING',
'task' => 'CMD',
'template' => 'CMD',
Expand Down

0 comments on commit b08efee

Please sign in to comment.