Skip to content

Commit 90c4147

Browse files
committed
Merge branch '2.1' into 2.2
2 parents 32c4272 + e588178 commit 90c4147

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

files/lib/system/search/FaqQuestionSearch.class.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ public function cacheObjects(array $objectIDs, ?array $additionalData = null): v
2828
#[Override]
2929
public function getObject(int $objectID): ?ISearchResultObject
3030
{
31-
return $this->faqCache[$objectID];
31+
if (isset($this->faqCache[$objectID])) {
32+
return $this->faqCache[$objectID];
33+
}
34+
35+
return null;
3236
}
3337

3438
#[Override]

package.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
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.6</version>
10-
<date>2024-11-07</date>
9+
<version>2.2.7</version>
10+
<date>2025-01-20</date>
1111
</packageinformation>
1212
<authorinformation>
1313
<author>Hanashi Development, Titus Kirch</author>
1414
<authorurl>https://hanashi.dev</authorurl>
1515
</authorinformation>
1616
<requiredpackages>
17-
<requiredpackage minversion="6.1.0">com.woltlab.wcf</requiredpackage>
17+
<requiredpackage minversion="6.1.3">com.woltlab.wcf</requiredpackage>
1818
</requiredpackages>
1919
<excludedpackages>
2020
<excludedpackage version="6.2.0 Alpha 1">com.woltlab.wcf</excludedpackage>
@@ -36,7 +36,7 @@
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.5">
39+
<instructions type="update" fromversion="2.2.6">
4040
<instruction type="file"/>
4141
</instructions>
4242
<instructions type="update" fromversion="2.1.*">

0 commit comments

Comments
 (0)