From 93e19451441afc156e45aaa63265e95cd6b1149e Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Thu, 8 Nov 2007 00:29:15 +0000 Subject: [PATCH] Added trim to package path. --- lib/Doctrine/Import/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Import/Builder.php b/lib/Doctrine/Import/Builder.php index 8d02a7314..0faa7dd6b 100644 --- a/lib/Doctrine/Import/Builder.php +++ b/lib/Doctrine/Import/Builder.php @@ -836,7 +836,7 @@ END; // If is the package class then we need to make the path to the complete package if (isset($options['is_package_class']) && $options['is_package_class']) { - $path = str_replace('.', DIRECTORY_SEPARATOR, $options['package']); + $path = str_replace('.', DIRECTORY_SEPARATOR, trim($options['package'])); $writePath = $packagesPath . DIRECTORY_SEPARATOR . $path;