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; }