Skip to content

Commit

Permalink
Update to 1.3.10
Browse files Browse the repository at this point in the history
- Fix warning: Undefined array key "q"
  • Loading branch information
Jako committed Jun 11, 2024
1 parent f36d068 commit 9fee6df
Show file tree
Hide file tree
Showing 15 changed files with 5,602 additions and 5,477 deletions.
2 changes: 1 addition & 1 deletion _build/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"lowCaseName": "customrequest",
"description": "Use friendly URLs everywhere",
"author": "Thomas Jakobi",
"version": "1.3.9",
"version": "1.3.10",
"package": {
"menus": [
{
Expand Down
Binary file added _packages/customrequest-1.3.10-pl.transport.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions assets/components/customrequest/css/mgr/customrequest.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions assets/components/customrequest/js/mgr/customrequest.min.js
100644 → 100755

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions core/components/customrequest/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.10] - 2024-06-11

### Fixed

- Fix warning: Undefined array key "q"

## [1.3.9] - 2023-10-13

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* CustomRequest
*
* Copyright 2013-2023 by Thomas Jakobi <[email protected]>
* Copyright 2013-2024 by Thomas Jakobi <[email protected]>
*
* @package customrequest
* @subpackage classfile
Expand Down
4 changes: 2 additions & 2 deletions core/components/customrequest/src/CustomRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* CustomRequest
*
* Copyright 2013-2023 by Thomas Jakobi <[email protected]>
* Copyright 2013-2024 by Thomas Jakobi <[email protected]>
*
* @package customrequest
* @subpackage classfile
Expand Down Expand Up @@ -42,7 +42,7 @@ class CustomRequest
* The version
* @var string $version
*/
public $version = '1.3.9';
public $version = '1.3.10';

/**
* The class options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function process()
$this->customrequest->initialize();
if ($this->modx->context->get('key') !== 'mgr') {
$requestParamAlias = $this->modx->getOption('request_param_alias', null, 'q');
$requestUri = trim(strtok($_REQUEST[$requestParamAlias], '?'), '/');
$requestUri = trim(strtok($_REQUEST[$requestParamAlias] ?? '', '?'), '/');
if ($this->customrequest->searchAliases($requestUri)) {
$this->customrequest->setRequest();
}
Expand Down
10,659 changes: 5,387 additions & 5,272 deletions icon/customrequest.ai

Large diffs are not rendered by default.

Binary file modified icon/customrequest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edit_uri: tree/master/docs
repo_name: 'Jako/CustomRequest'
repo_url: https://github.com/Jako/CustomRequest

copyright: '&copy; 2013-2023 <a href="https://treehillstudio.com">Treehill Studio</a>'
copyright: '&copy; 2013-2024 <a href="https://treehillstudio.com">Treehill Studio</a>'

nav:
- Description: 'index.md'
Expand Down
Loading

0 comments on commit 9fee6df

Please sign in to comment.