Skip to content

Commit b7cea6b

Browse files
committed
class check fixed
Signed-off-by: Bruno Meilick <[email protected]>
1 parent e272ed3 commit b7cea6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

classes/fingerprint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static function process($file)
6666
$lookup = [];
6767
$needsPush = true;
6868
}
69-
if (is_a($file, 'File')) {
69+
if (is_a($file, 'Kirby\CMS\File')) {
7070
$key = $file->id();
7171
$root = $file->root();
7272
$mod = \filemtime($root);

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bnomei/kirby3-fingerprint",
33
"type": "plugin",
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"description": "File Method and css/js helper to add cachbusting hash and optional Subresource Integrity to file",
66
"license": "MIT",
77
"autoload": {

0 commit comments

Comments
 (0)