-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Record: type cast page_namespace into int; make submission_id a string
The version and/or configuration of the MySQL client can apparently mean we get a string instead of an integer, causing the page titles to be displayed incorrectly. For good measure, we type cast all getters that should return an int. The submission_id meanwhile can either be an int or a string, depending on whether it's from the new Turnitin API or the old one. We cast to string since we don't need the integer type for this field.
- Loading branch information
1 parent
1ffdab1
commit 32b332e
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters