From b4195984670a77d2d5d019a1fe0685cb1c2a4981 Mon Sep 17 00:00:00 2001 From: Forest Mars Date: Mon, 4 May 2015 00:46:54 -0400 Subject: [PATCH] Update Mapper.php broken comparator. --- src/Mapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mapper.php b/src/Mapper.php index 5623fa6..bddb4d6 100644 --- a/src/Mapper.php +++ b/src/Mapper.php @@ -128,7 +128,7 @@ public function mapCustom() $root = $this->getRoot(); $fs = $this->getFS(); $paths = []; - if ($name = $this->getName()) { + if ($name == $this->getName()) { foreach ($this->getCustomFilesFinder() as $file) { $install = rtrim($fs->makePathRelative($file->getRealpath(), $root), '/'); $paths["custom"][$install] = sprintf(