bluehost / endurance-page-cache

Other
25 stars 12 forks source link

Fix the cache level settings dropdown #74

Closed earnjam closed 5 years ago

earnjam commented 5 years ago

The cache level setting dropdown under Settings > General is not being preset to the currently assigned cache value. This is happening because it comes out of the database as a string, but it's doing a strict comparison to an integer.

This PR just forces it to be an integer to allow the strict comparison.