~cyborg/michelangelo

b777b0ae9e8c8f138eadc19d5cc3f8eb70e78879 — cyborg 9 months ago b3d03cc
fix error when pulling page number from URL
1 files changed, 2 insertions(+), 2 deletions(-)

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

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