Skip to content

Commit a9c46b4

Browse files
committed
fix null description
1 parent f660bc0 commit a9c46b4

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

files/lib/data/faq/category/FaqCategory.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function getLink(): string
8989

9090
public function getDescription(): string
9191
{
92-
return WCF::getLanguage()->get($this->description);
92+
return WCF::getLanguage()->get($this->description ?? '');
9393
}
9494

9595
public function getDescriptionHtml(): string

package.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<packagename language="de">Simple FAQ</packagename>
77
<packagedescription>A simple and powerful FAQ for your WSC.</packagedescription>
88
<packagedescription language="de">Ein simples und leistungsstarkes FAQ für Ihr WSC.</packagedescription>
9-
<version>2.2.5</version>
10-
<date>2024-11-03</date>
9+
<version>2.2.6</version>
10+
<date>2024-11-07</date>
1111
</packageinformation>
1212
<authorinformation>
1313
<author>Hanashi Development, Titus Kirch</author>
@@ -36,10 +36,8 @@
3636
<instruction type="templateListener"/>
3737
<instruction type="database" run="standalone">acp/database/install_dev.tkirch.wsc.faq.php</instruction>
3838
</instructions>
39-
<instructions type="update" fromversion="2.2.4">
39+
<instructions type="update" fromversion="2.2.5">
4040
<instruction type="file"/>
41-
<instruction type="acpTemplate"/>
42-
<instruction type="template"/>
4341
</instructions>
4442
<instructions type="update" fromversion="2.1.*">
4543
<instruction type="file"/>

0 commit comments

Comments
 (0)