Commit d8dbe5a4 by Carsten Brandt

fixed c&p error

parent 999b4255
......@@ -57,7 +57,7 @@ class Installer extends LibraryInstaller
$this->removePackage($initial);
$this->addPackage($target);
// ensure the yii2-dev package also provides Yii.php in the same place as yii2 does
if ($package->getName() == 'yiisoft/yii2-dev') {
if ($initial->getName() == 'yiisoft/yii2-dev') {
$this->linkYiiBaseFiles();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment