diff --git a/Command/MigrateCommand.php b/Command/MigrateCommand.php index 8b427d0..3c981e5 100644 --- a/Command/MigrateCommand.php +++ b/Command/MigrateCommand.php @@ -30,7 +30,7 @@ protected function execute(InputInterface $input, OutputInterface $output) foreach($files as $file) { $fileName = $file->getFilename(); - if ($fileName{0} !== '.' && ! $file->isDir()) { + if ($fileName[0] !== '.' && ! $file->isDir()) { $key = substr($file->getRealPath(), strlen(FILES_DIR) + 1); if (! $this->fileExists($storage, $key)) { diff --git a/Plugin.php b/Plugin.php index 31b650a..63cdae9 100644 --- a/Plugin.php +++ b/Plugin.php @@ -33,7 +33,7 @@ public function getPluginAuthor() public function getPluginVersion() { - return '1.0.1'; + return '1.0.2'; } public function getPluginHomepage()