File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,15 @@ class InvalidateLogger extends \Magento\Framework\Cache\InvalidateLogger
2020 */
2121 public function execute ($ invalidateInfo )
2222 {
23- $ invalidateInfo ['trace ' ] = debug_backtrace (DEBUG_BACKTRACE_IGNORE_ARGS );
23+ if (is_array ($ invalidateInfo )) {
24+ $ invalidateInfo ['trace ' ] = debug_backtrace (DEBUG_BACKTRACE_IGNORE_ARGS );
25+ } elseif (is_string ($ invalidateInfo )) {
26+ $ invalidateInfo = [
27+ 'main ' => $ invalidateInfo ,
28+ 'trace ' => debug_backtrace (DEBUG_BACKTRACE_IGNORE_ARGS )
29+ ];
30+ }
31+
2432 parent ::execute ($ invalidateInfo );
2533 }
2634}
Original file line number Diff line number Diff line change 22 "name" : " magento/magento-cloud-components" ,
33 "description" : " Cloud Components Module for Magento 2.x" ,
44 "type" : " magento2-module" ,
5- "version" : " 1.0.4 " ,
5+ "version" : " 1.0.5 " ,
66 "require" : {
77 "php" : " ^7.0" ,
88 "ext-json" : " *" ,
You can’t perform that action at this time.
0 commit comments