Skip to content
This repository was archived by the owner on Jan 25, 2021. It is now read-only.

Commit 3b9de02

Browse files
committed
Fix #2: Typo in module template
1 parent b984af7 commit 3b9de02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

etc/template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Kirby\Modules;
44

55
// Redirect to the page where the module appears
6-
if($page->parent()->uid() === Modules::uid()) {
6+
if($page->parent()->uid() === Modules::parentUid()) {
77
go($page->parent()->parent());
88
} else {
99
go($page->parent());

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"description": "Kirby Modules Plugin",
44
"author": "Lukas Bestle <[email protected]>",
55
"license": "MIT",
6-
"version": "1.0.0",
6+
"version": "1.0.1",
77
"type": "kirby-plugin"
88
}

0 commit comments

Comments
 (0)