From 04e1f6e62ee1d7899a46e3a534af93fcc43cf013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szab=C3=B3=20Gerg=C5=91?= Date: Sat, 20 May 2017 11:54:55 +0200 Subject: [PATCH] Typo It is low priority changes. Yesterday I found them too, when I fixed the array index name issue. --- modules/cms/widgets/AssetList.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/cms/widgets/AssetList.php b/modules/cms/widgets/AssetList.php index c8575188d..22b2ac10b 100644 --- a/modules/cms/widgets/AssetList.php +++ b/modules/cms/widgets/AssetList.php @@ -151,7 +151,7 @@ class AssetList extends WidgetBase if (!@File::delete($fullPath)) { throw new ApplicationException(Lang::get( 'cms::lang.asset.error_deleting_file', - ['name'=>$path] + ['name' => $path] )); } } @@ -160,14 +160,14 @@ class AssetList extends WidgetBase if ($empty === false) { throw new ApplicationException(Lang::get( 'cms::lang.asset.error_deleting_dir_not_empty', - ['name'=>$path] + ['name' => $path] )); } if (!@rmdir($fullPath)) { throw new ApplicationException(Lang::get( 'cms::lang.asset.error_deleting_dir', - ['name'=>$path] + ['name' => $path] )); } } @@ -248,7 +248,7 @@ class AssetList extends WidgetBase } return [ - '#'.$this->getId('asset-list') => $this->makePartial('items', ['items'=>$this->getData()]) + '#'.$this->getId('asset-list') => $this->makePartial('items', ['items' => $this->getData()]) ]; } @@ -289,7 +289,7 @@ class AssetList extends WidgetBase } return [ - '#'.$this->getId('asset-list') => $this->makePartial('items', ['items'=>$this->getData()]) + '#'.$this->getId('asset-list') => $this->makePartial('items', ['items' => $this->getData()]) ]; } @@ -390,7 +390,7 @@ class AssetList extends WidgetBase } return [ - '#'.$this->getId('asset-list') => $this->makePartial('items', ['items'=>$this->getData()]) + '#'.$this->getId('asset-list') => $this->makePartial('items', ['items' => $this->getData()]) ]; }