mirror of
https://github.com/standardebooks/web.git
synced 2025-07-09 16:20:27 -04:00
Pass enum to Db::Query, not its value
This commit is contained in:
parent
2273367c6d
commit
4aefe412f9
1 changed files with 1 additions and 1 deletions
|
@ -1636,7 +1636,7 @@ class Ebook{
|
|||
values (?,
|
||||
?,
|
||||
?)
|
||||
', [$source->EbookId, $source->Type->value, $source->Url]);
|
||||
', [$source->EbookId, $source->Type, $source->Url]);
|
||||
|
||||
$source->EbookSourceId = Db::GetLastInsertedId();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue