images styles generation notice fix

This commit is contained in:
Bachir Soussi Chiadmi 2021-03-17 19:24:09 +01:00
parent d553146450
commit 406d215a04
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ namespace Drupal\images_styles_gen;
class CreateImagesStyles {
public static function createStyles($item, &$context){
if (!$context['sandbox']['progress']) {
if (!array_key_exists('progress', $context['sandbox'])) {
$context['sandbox']['progress'] = 0;
}
$context['sandbox']['progress']++;