~cyborg/michelangelo

505b2f286c2ca1e3389f47278c7758d6a79cbfea — cyborg 9 months ago ef03f1b
fix error when pulling page number from URL
1 files changed, 1 insertions(+), 1 deletions(-)

M index.php
M index.php => index.php +1 -1
@@ 202,7 202,7 @@ function gallery($params=null) {
    }

    // Get current page number & calculate posts to request
    $page_num = (int)substr($params[0], 0, 2)
    $page_num = (int)substr($params[0], 0, 2);
    if (!is_null($params) && is_numeric($page_num)) {
        $page = $page_num;
        echo $dir;