mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Removed type conversions where no longer needed
PHP 8.1 PDO SQLite now returns native data types
This commit is contained in:
@@ -386,7 +386,7 @@
|
||||
@endphp
|
||||
|
||||
<div class="row ml-1">
|
||||
@if(!empty($calories) && intval($calories) > 0)
|
||||
@if(!empty($calories) && $calories > 0)
|
||||
<div class="col-4">
|
||||
<label>{{ GROCY_ENERGY_UNIT }}</label>
|
||||
<i class="fa-solid fa-question-circle text-muted d-print-none"
|
||||
|
Reference in New Issue
Block a user