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