diff --git a/src/GetPageSpeed/DevThemeActiveCommand.php b/src/GetPageSpeed/DevThemeActiveCommand.php index fba5f1f..8197f7f 100644 --- a/src/GetPageSpeed/DevThemeActiveCommand.php +++ b/src/GetPageSpeed/DevThemeActiveCommand.php @@ -44,6 +44,10 @@ protected function execute(InputInterface $input, OutputInterface $output) $sql = sprintf('SELECT DISTINCT theme_path FROM `%s` LEFT JOIN `%s` ON `value` = `theme_id` WHERE `path`=\'design/theme/theme_id\'', $themeTableName, $configTableName); $res = $connection->fetchCol($sql); + + if (!count($res)) { + $res[] = 'Magento/luma'; + } if (!$input->getOption('format')) { $out = array();