Skip to content

Commit 2bc2336

Browse files
committed
1 parent dbb09b1 commit 2bc2336

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generate/exhibition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ function curated_nav($num, $current)
214214
// $links[] = sprintf("<a href=\"curated_page_%d.html\">%d</a>", $num, $num);
215215
//}
216216
for ($i = $num; $i > 0; $i--) {
217-
if ($1 == $num) {
217+
if ($i == $num) {
218218
$links[] = sprintf("<a href=\"curated_page_new.html\">%d</a>", $i);
219219
} else {
220220
$links[] = (($num-$i+1) == $current) ? $i : sprintf("<a href=\"curated_page_%d.html\">%d</a>", $i, $i);

0 commit comments

Comments
 (0)