Skip to content

Commit

Permalink
🚑 fixed bolt not working properly
Browse files Browse the repository at this point in the history
Signed-off-by: bnomei <[email protected]>
  • Loading branch information
bnomei committed Jun 19, 2023
1 parent 712aa98 commit c301ad0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion classes/Bolt.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php return array(
'root' => 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__ . '/../../',
Expand All @@ -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__ . '/../../',
Expand Down

0 comments on commit c301ad0

Please sign in to comment.