Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3750785
D325.id768.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
559 B
Referenced Files
None
Subscribers
None
D325.id768.diff
View Options
diff --git a/app/Phabricator/ProjectsMap.php b/app/Phabricator/ProjectsMap.php
--- a/app/Phabricator/ProjectsMap.php
+++ b/app/Phabricator/ProjectsMap.php
@@ -201,8 +201,11 @@
* Populates 'map' and 'source' properties
*/
public function loadFromCache () {
- $this->map = Cache::get($this->getCacheKey());
- $this->source = 'cache';
+ $cachedMap = Cache::get($this->getCacheKey());
+ if ($cachedMap !== null) {
+ $this->map = $cachedMap;
+ $this->source = 'cache';
+ }
}
///
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 03:34 (20 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250080
Default Alt Text
D325.id768.diff (559 B)
Attached To
Mode
D325: Fix type error when data isn't cached in ProjectsMap
Attached
Detach File
Event Timeline
Log In to Comment