diff --git a/lib/EbookTag.php b/lib/EbookTag.php index f059354b..fd334bfa 100644 --- a/lib/EbookTag.php +++ b/lib/EbookTag.php @@ -59,7 +59,7 @@ class EbookTag extends Tag{ SELECT * from Tags where Name = ? - ', [$name], 'EbookTag'); + ', [$name], EbookTag::class); if(isset($result[0])){ return $result[0]; diff --git a/lib/LocSubject.php b/lib/LocSubject.php index 49d03ab9..7db6f231 100644 --- a/lib/LocSubject.php +++ b/lib/LocSubject.php @@ -39,7 +39,7 @@ class LocSubject{ SELECT * from LocSubjects where Name = ? - ', [$name], 'LocSubject'); + ', [$name], LocSubject::class); if(isset($result[0])){ return $result[0];