Skip to content

Commit 51729e2

Browse files
committed
small fix to help with setting a pattern substore value
1 parent 5163f53 commit 51729e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PatternLab/PatternData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public static function setPatternSubOption($patternStoreKey,$optionName,$pattern
478478

479479
if (isset(self::$store[$patternStoreKey]) && isset(self::$store[$patternStoreKey][$optionName]) && isset(self::$store[$patternStoreKey][$optionName][$patternSubStoreKey])) {
480480

481-
self::$store[$patternStoreKey][$optionName][$patternLineageKey][$optionSubName] = $optionSubValue;
481+
self::$store[$patternStoreKey][$optionName][$patternSubStoreKey][$optionSubName] = $optionSubValue;
482482
return true;
483483

484484
}

0 commit comments

Comments
 (0)