| @@ -188,10 +188,10 @@ | ||
| 188 | 188 | self::$page = (self::$current > $show ? (self::$current - $show) : 1); | 
| 189 | 189 |              if (self::$current < (self::$lastpage - $show)) { | 
| 190 | 190 | self::$lastpage = ((self::$current <= $show) ? (self::$current + ($numpages - self::$current)) : (self::$current + $show)); | 
| 191 | -            } else { | |
| 191 | +            }else { | |
| 192 | 192 | self::$page = self::$current - ($numpages - ((ceil(intval($records) / ($maxshown >= 1 ? intval($maxshown) : 1)) - self::$current)) - 1); | 
| 193 | 193 | } | 
| 194 | -        } else { | |
| 194 | +        }else { | |
| 195 | 195 | self::$page = 1; | 
| 196 | 196 | } | 
| 197 | 197 | } |