mirror of
https://github.com/grocy/grocy.git
synced 2025-10-26 14:07:38 +00:00
Removed type conversions where no longer needed
PHP 8.1 PDO SQLite now returns native data types
This commit is contained in:
@@ -108,7 +108,7 @@ $(document).on('click', '.undo-stock-booking-button', function(e)
|
||||
var correlationId = $("#stock-booking-" + bookingId + "-row").attr("data-correlation-id");
|
||||
|
||||
var correspondingBookingsRoot = $("#stock-booking-" + bookingId + "-row");
|
||||
if (!correlationId.isEmpty())
|
||||
if (correlationId)
|
||||
{
|
||||
correspondingBookingsRoot = $(".stock-booking-correlation-" + correlationId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user