Skip to content

Commit 1f491ed

Browse files
author
Sonja Broda
committed
Fix reference error
1 parent 1a5e90d commit 1f491ed

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "texnixe/related",
33
"description": "Fetch related pages or files based on the values of a given field ",
4-
"version": "0.9.0",
4+
"version": "0.9.1",
55
"type": "kirby-plugin",
66
"license": "MIT",
77
"authors": [

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Kirby 3 Related Pages Plugin
44
*
5-
* @version 0.9.0
5+
* @version 0.9.1
66
* @author Sonja Broda <info@texniq.de>
77
* @copyright Sonja Broda <info@texniq.de>
88
* @link https://github.com/texnixe/kirby-related

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Kirby Related plugin",
44
"author": "Sonja Broda <sonja@texniq.de>",
55
"license": "MIT",
6-
"version": "0.9.0",
6+
"version": "0.9.1",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/texnixe/kirby-related"

src/Related.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Texnixe\Related;
44

5+
56
class Related
67
{
78

@@ -41,7 +42,7 @@ public static function data($basis, $options = [])
4142
// define variables
4243
$searchCollection = $options['searchCollection'];
4344
$matches = $options['matches'];
44-
$searchField = str::lower($options['searchField']);
45+
$searchField = strtolower($options['searchField']);
4546
$delimiter = $options['delimiter'];
4647
$languageFilter = $options['languageFilter'];
4748

0 commit comments

Comments
 (0)