mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Removed type conversions where no longer needed
PHP 8.1 PDO SQLite now returns native data types
This commit is contained in:
@@ -508,7 +508,7 @@ $(document).on("click", "#print-shopping-list-button", function(e)
|
||||
$(".print-timestamp").text(moment().format("l LT"));
|
||||
|
||||
$("#description-for-print").html($("#description").val());
|
||||
if ($("#description").text().isEmpty())
|
||||
if (!$("#description").text())
|
||||
{
|
||||
$("#description-for-print").parent().addClass("d-print-none");
|
||||
}
|
||||
|
Reference in New Issue
Block a user