Cache TTL loaded as string from config file
|Reported by:||fifers||Owned by:||anonymous|
When the cache_ttl variable is loaded from the trac project config file, it is loaded as a string. This causes problems during arithmetic operations with float variables. I've cast the result as a float to ensure that it is always the correct type. This is only a problem if you don't assign a non-default value for cache_ttl. Patch attached.
Change History (8)
Changed 9 years ago by fifers
comment:1 Changed 9 years ago by anonymous
- Owner changed from eblot to anonymous
- Status changed from new to assigned