We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbb09b1 commit 2bc2336Copy full SHA for 2bc2336
1 file changed
generate/exhibition.php
@@ -214,7 +214,7 @@ function curated_nav($num, $current)
214
// $links[] = sprintf("<a href=\"curated_page_%d.html\">%d</a>", $num, $num);
215
//}
216
for ($i = $num; $i > 0; $i--) {
217
- if ($1 == $num) {
+ if ($i == $num) {
218
$links[] = sprintf("<a href=\"curated_page_new.html\">%d</a>", $i);
219
} else {
220
$links[] = (($num-$i+1) == $current) ? $i : sprintf("<a href=\"curated_page_%d.html\">%d</a>", $i, $i);
0 commit comments