fix null argument
This commit is contained in:
parent
8de871cbd2
commit
c9d8a62eaa
3 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@ $this->registerModule(
|
||||||
'Enhance post content',
|
'Enhance post content',
|
||||||
'Add features to words in post content',
|
'Add features to words in post content',
|
||||||
'Jean-Christian Denis and Contributors',
|
'Jean-Christian Denis and Contributors',
|
||||||
'2023.05.13',
|
'2023.05.13.1',
|
||||||
[
|
[
|
||||||
'requires' => [
|
'requires' => [
|
||||||
['php', '8.1'],
|
['php', '8.1'],
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<modules xmlns:da="http://dotaddict.org/da/">
|
<modules xmlns:da="http://dotaddict.org/da/">
|
||||||
<module id="enhancePostContent">
|
<module id="enhancePostContent">
|
||||||
<name>Enhance post content</name>
|
<name>Enhance post content</name>
|
||||||
<version>2023.05.13</version>
|
<version>2023.05.13.1</version>
|
||||||
<author>Jean-Christian Denis and Contributors</author>
|
<author>Jean-Christian Denis and Contributors</author>
|
||||||
<desc>Add features to words in post content</desc>
|
<desc>Add features to words in post content</desc>
|
||||||
<file>https://github.com/JcDenis/enhancePostContent/releases/download/v2023.05.13/plugin-enhancePostContent.zip</file>
|
<file>https://github.com/JcDenis/enhancePostContent/releases/download/v2023.05.13.1/plugin-enhancePostContent.zip</file>
|
||||||
<da:dcmin>2.26</da:dcmin>
|
<da:dcmin>2.26</da:dcmin>
|
||||||
<da:details>https://plugins.dotaddict.org/dc2/details/enhancePostContent</da:details>
|
<da:details>https://plugins.dotaddict.org/dc2/details/enhancePostContent</da:details>
|
||||||
<da:support>https://github.com/JcDenis/enhancePostContent</da:support>
|
<da:support>https://github.com/JcDenis/enhancePostContent</da:support>
|
||||||
|
|
|
@ -45,7 +45,7 @@ class Prepend extends dcNsProcess
|
||||||
'epccss',
|
'epccss',
|
||||||
'epc.css',
|
'epc.css',
|
||||||
'^epc\.css',
|
'^epc\.css',
|
||||||
function (string $args): void {
|
function (?string $args): void {
|
||||||
$css = [];
|
$css = [];
|
||||||
foreach (Epc::getFilters()->dump() as $filter) {
|
foreach (Epc::getFilters()->dump() as $filter) {
|
||||||
if ('' == $filter->class || '' == $filter->style) {
|
if ('' == $filter->class || '' == $filter->style) {
|
||||||
|
|
Loading…
Reference in a new issue