mirror of
https://github.com/grocy/grocy.git
synced 2025-09-19 19:11:48 +00:00
Removed type conversions where no longer needed
PHP 8.1 PDO SQLite now returns native data types
This commit is contained in:
@@ -19,7 +19,7 @@ function RefreshQuPluralTestingResult()
|
||||
var pluralForm = $("#qu_id option:selected").data("plural-form");
|
||||
var amount = $("#amount").val();
|
||||
|
||||
if (singularForm.toString().isEmpty() || amount.toString().isEmpty())
|
||||
if (!singularForm || !amount)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user