Page MenuHomeDevCentral

D325.diff
No OneTemporary

D325.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, Jan 27, 08:52 (2 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2380217
Default Alt Text
D325.diff (559 B)

Event Timeline