Skip to content

Commit

Permalink
поправил ошибку в провайдере шаблонов ютима про
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriitux committed Aug 16, 2022
1 parent b53bfaf commit ce61a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion radicalinstaller.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>GNU General Public License version 3; see LICENSE.txt</license>
<authorEmail>cymbal@delo-design.ru</authorEmail>
<authorUrl>https://delo-design.ru</authorUrl>
<version>1.2.3</version>
<version>1.2.4</version>
<description>PLG_INSTALLER_RADICALINSTALLER_PLUGIN_XML_DESCRIPTION</description>
<scriptfile>script.php</scriptfile>

Expand Down
2 changes: 1 addition & 1 deletion src/Radicalinstaller/Provider/ProviderYoolayouts.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function start($id)
{
$item = json_decode(file_get_contents($this->filepath_extract . DIRECTORY_SEPARATOR . $file), true);

if (!is_array($item) || $item['name'])
if (empty($item['name']))
{
return false;
}
Expand Down

0 comments on commit ce61a4f

Please sign in to comment.