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
20
20
*/
21
21
public function execute ($ invalidateInfo )
22
22
{
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
+
24
32
parent ::execute ($ invalidateInfo );
25
33
}
26
34
}
Original file line number Diff line number Diff line change 2
2
"name" : " magento/magento-cloud-components" ,
3
3
"description" : " Cloud Components Module for Magento 2.x" ,
4
4
"type" : " magento2-module" ,
5
- "version" : " 1.0.4 " ,
5
+ "version" : " 1.0.5 " ,
6
6
"require" : {
7
7
"php" : " ^7.0" ,
8
8
"ext-json" : " *" ,
You can’t perform that action at this time.
0 commit comments