mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
Fix undefined $from– variable: brace-interpolate variables before en-dash in double-quoted string
This commit is contained in:
@@ -365,7 +365,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
$from = $offset + 1;
|
$from = $offset + 1;
|
||||||
$to = min($offset + $perPage, $totalCount);
|
$to = min($offset + $perPage, $totalCount);
|
||||||
if ($totalPages > 1) {
|
if ($totalPages > 1) {
|
||||||
echo "$from–$to sur $totalCount TFE";
|
echo "{$from}–{$to} sur {$totalCount} TFE";
|
||||||
} else {
|
} else {
|
||||||
echo "$totalCount TFE";
|
echo "$totalCount TFE";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user