mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 03:40:10 +00:00
Removed type conversions where no longer needed
PHP 8.1 PDO SQLite now returns native data types
This commit is contained in:
@@ -72,7 +72,7 @@ $("#search").on("keyup", Delay(function()
|
||||
|
||||
recipesTables.search(value).draw();
|
||||
|
||||
if (value.isEmpty())
|
||||
if (!value)
|
||||
{
|
||||
RemoveUriParam("search");
|
||||
}
|
||||
@@ -120,7 +120,7 @@ $("#status-filter").on("change", function()
|
||||
}
|
||||
}
|
||||
|
||||
if (value.isEmpty())
|
||||
if (!value)
|
||||
{
|
||||
RemoveUriParam("status");
|
||||
}
|
||||
|
Reference in New Issue
Block a user