Commit 736c8cc
committed
Fix
Without this fix, I was getting the following error:
```
Notice: Array to string conversion in /Users/paulrobertlloyd/Sites/bradshawsguide/site/plugins/alphabetise/alphabetise.php on line 21
Notice: Undefined property: Page::$Array in /Users/paulrobertlloyd/Sites/bradshawsguide/site/plugins/alphabetise/alphabetise.php on line 21
Fatal error: Method Kirby\Patterns\Pattern::__toString() must not throw an exception, caught Error: Function name must be a string in /Users/paulrobertlloyd/Sites/bradshawsguide/site/plugins/patterns/lib/helpers.php on line 0
```
My PHP knowledge is well, non-existent, but enough Googling led me to work out that this change will convert `$options['key']` into a useable string.Array to string conversion error1 parent cede269 commit 736c8cc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments