Civi\Angular\Manager - Use PSR-16 compliant cache key
authorTim Otten <totten@civicrm.org>
Tue, 26 Jun 2018 19:09:11 +0000 (12:09 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 27 Jun 2018 18:13:56 +0000 (11:13 -0700)
Civi/Angular/Manager.php

index 62d896e2f8f505dc018bc4a3734bd028a7c4b82d..61f36af0eeb9dd50d93b87a51c49686ed796b3b3 100644 (file)
@@ -246,7 +246,7 @@ class Manager {
    *   Invalid partials configuration.
    */
   public function getPartials($name) {
-    $cacheKey = "angular-partials::$name";
+    $cacheKey = "angular-partials_$name";
     $cacheValue = $this->cache->get($cacheKey);
     if ($cacheValue === NULL) {
       $cacheValue = ChangeSet::applyResourceFilters($this->getChangeSets(), 'partials', $this->getRawPartials($name));