mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Use ::class names instead of strings in LocSubject and EbookTag
This commit is contained in:
parent
43416e76db
commit
4d321061c5
2 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
|
|
|
@ -39,7 +39,7 @@ class LocSubject{
|
|||
SELECT *
|
||||
from LocSubjects
|
||||
where Name = ?
|
||||
', [$name], 'LocSubject');
|
||||
', [$name], LocSubject::class);
|
||||
|
||||
if(isset($result[0])){
|
||||
return $result[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue