We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6be371 commit ec2bae1Copy full SHA for ec2bae1
1 file changed
admin-power-tools.php
@@ -170,7 +170,7 @@ public function onTwigExtensions()
170
{
171
$twig = $this->grav['twig']->twig;
172
$twig->addFunction(new \Twig_SimpleFunction('getPages', [$this, 'getPages']));
173
-
+
174
require_once "services/_nav-up-service.php";
175
}
176
@@ -265,7 +265,7 @@ public function onPageNotFound($e)
265
public function onAdminTaskExecute($e)
266
267
$method = $e['method'];
268
- if (!Utils::startsWith("task", $method)) {
+ if (!Utils::startsWith($method, "task")) {
269
return false;
270
271
0 commit comments