From 203f4bfe3e745f64c31b8873421f1ff149f709b2 Mon Sep 17 00:00:00 2001
From: Qiang Xue <qiang.xue@gmail.com>
Date: Sun, 21 Jul 2013 08:59:17 -0400
Subject: [PATCH] Fixes issue #643

---
 framework/yii/base/Module.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/yii/base/Module.php b/framework/yii/base/Module.php
index dc9d7c6..741ed14 100644
--- a/framework/yii/base/Module.php
+++ b/framework/yii/base/Module.php
@@ -195,7 +195,7 @@ abstract class Module extends Component
 		if ($this instanceof Application) {
 			return '';
 		} elseif ($this->module) {
-			return $this->module->getUniqueId() . '/' . $this->id;
+			return ltrim($this->module->getUniqueId() . '/' . $this->id, '/');
 		} else {
 			return $this->id;
 		}
--
libgit2 0.27.1