From c301ad0bff6c6856ec9883b9ff0bb4c82cd8bc1f Mon Sep 17 00:00:00 2001 From: bnomei Date: Mon, 19 Jun 2023 22:14:13 +0100 Subject: [PATCH] :ambulance: fixed bolt not working properly Signed-off-by: bnomei --- classes/Bolt.php | 2 +- composer.json | 2 +- vendor/composer/installed.php | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/classes/Bolt.php b/classes/Bolt.php index fc1b240..75ad1b9 100644 --- a/classes/Bolt.php +++ b/classes/Bolt.php @@ -79,7 +79,7 @@ public function lookup(string $id, bool $cache = true): ?Page $lookup = A::get(static::$idToPage, $id); // in case the page was deleted/moved - if ($lookup && Dir::exists($lookup->root() === false)) { + if ($lookup && Dir::exists($lookup->root()) === false) { unset(static::$idToPage[$id]); $lookup = null; } diff --git a/composer.json b/composer.json index dad2c91..18a93e6 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "bnomei/kirby3-boost", "type": "kirby-plugin", - "version": "2.3.2", + "version": "2.3.3", "description": "Boost the speed of Kirby by having content files of files/pages/users cached, with fast lookup based on uuid.", "license": "MIT", "authors": [ diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index a458981..4e35346 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,8 +1,8 @@ array( 'name' => 'bnomei/kirby3-boost', - 'pretty_version' => '2.3.2', - 'version' => '2.3.2.0', + 'pretty_version' => '2.3.3', + 'version' => '2.3.3.0', 'reference' => NULL, 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../', @@ -11,8 +11,8 @@ ), 'versions' => array( 'bnomei/kirby3-boost' => array( - 'pretty_version' => '2.3.2', - 'version' => '2.3.2.0', + 'pretty_version' => '2.3.3', + 'version' => '2.3.3.0', 'reference' => NULL, 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../',