Skip to content

Commit

Permalink
* Improved compatibility with new versions of (MODX)EvolutionCMS.libr…
Browse files Browse the repository at this point in the history
…aries.ddTools.

* Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.40.1 is required (not tested in older versions).
  • Loading branch information
Ronef committed Jun 22, 2020
1 parent 2a5afa1 commit 52c0d8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A snippet for fetching and parsing resources from the document tree or custom DB
* PHP >= 5.4
* MySQL >= 8 or MariaDB >= 10.3.10 (not tested in older versions).
* [(MODX)EvolutionCMS](https://github.com/evolution-cms/evolution) >= 1.1
* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.30
* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.40.1


## Documentation
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"license": "MIT",
"require": {
"php": ">=5.4.0",
"dd/evolutioncms-libraries-ddtools": ">=0.30.0",
"dd/evolutioncms-libraries-ddtools": ">=0.40.1",
"composer/installers": "~1.0.0"
},
"autoload": {
Expand Down
8 changes: 4 additions & 4 deletions ddGetDocuments_snippet.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
}

//Backward compatibility
extract(\ddTools::verifyRenamedParams(
$params,
[
extract(\ddTools::verifyRenamedParams([
'params' => $params,
'compliance' => [
'outputter' => 'outputFormat',
'outputterParams' => 'outputFormatParams'
]
));
]));

//General
$total =
Expand Down

0 comments on commit 52c0d8b

Please sign in to comment.