mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-10 03:30:08 +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;
|
$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