Page MenuHomeDevCentral

D325.id768.diff
No OneTemporary

D325.id768.diff

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

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)

Event Timeline