We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ceb3c4 commit 388ff36Copy full SHA for 388ff36
textpattern/vendors/Textpattern/Skin/Skin.php
@@ -731,7 +731,7 @@ public function import($sync = false, $override = false)
731
} else {
732
$skinInfos = array_merge(array('name' => $name), $this->getFileContents());
733
734
- if (!$skinInfos) {
+ if (count($skinInfos) == 1) {
735
$this->mergeResult('invalid_json', $filePath);
736
737
extract($skinInfos);
0 commit comments