iRail / The-DataTank

DEPRECATED - new repo at http://github.com/tdt/core
http://thedatatank.com
26 stars 9 forks source link

DB resource wrong SQL statement #139

Closed coreation closed 11 years ago

coreation commented 11 years ago

The introduction of limit is causing a small bug in the DB resource because of an invalid SQL statement. The limit parameter should be checked on whether the string is empty, not no whether it is set.