Skip to content

Fix psql error when accessing the project commits page. #75

Merged
merged 1 commit into from May 3, 2012

2 participants

@zegenie
The Bug Genie member
zegenie commented May 2, 2012

The check is there for the pagination of the timeline. Can you just add a condition to it so it doesn't apply if $limit === false?

@dscharrer

$limit is not false, but strtotime($limit) is, as limit is not not a string at all but just an integer (see the default value)

It is still used in the $crit->setLimit($limit); call a few lines later.

@zegenie zegenie merged commit 20a0557 into thebuggenie:next May 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.