Fix AS::Cache version upgrading bug #7902

Merged
merged 1 commit into from Oct 10, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -644,7 +644,7 @@ def convert_version_3_entry!
@c = @compressed
remove_instance_variable(:@compressed)
end
- if defined?(@expires_in) && defined?(@created_at)
+ if defined?(@expires_in) && defined?(@created_at) && @expires_in && @created_at
@x = (@created_at + @expires_in).to_i
remove_instance_variable(:@created_at)
remove_instance_variable(:@expires_in)