Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9.8.1
-
None
-
Debian unstable, Jetty, Postgres, IBM Java 1.4.1
Description
Location:
org.roller.business.hibernate.RefererManagerImpl.getDaysPopularWebsites
Line 184 contains "... and u.userenabled=1"
This is illegal under postresql as it expects a boolean value, not an integer. Changing the line to "... and u.userenabled=true" fixes the problem and should work in any reasonable database.