Skip to content

Commit f6a7760

Browse files
authored
Merge pull request #82 from LaswitchTech/dev
General: Version bumped to v0.0.82
2 parents 56d84ef + 21da689 commit f6a7760

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Model/CoreModel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public function import(string $path, ?string $current = null): bool
250250
if(class_exists($postClass)){
251251

252252
// Initialize the Post Model
253-
$PostModel = new $postClass($this->Database);
253+
$PostModel = new $postClass();
254254

255255
// Check if the post method exists
256256
if(method_exists($PostModel, 'post')){
@@ -301,6 +301,7 @@ public function import(string $path, ?string $current = null): bool
301301
}
302302
}
303303
} catch (\Exception $e) {
304+
error_log($e->getMessage());
304305
return false;
305306
}
306307
}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.0.81
1+
v0.0.82

0 commit comments

Comments
 (0)