Commit 203f4bfe by Qiang Xue

Fixes issue #643

parent 8bf0a9b1
...@@ -195,7 +195,7 @@ abstract class Module extends Component ...@@ -195,7 +195,7 @@ abstract class Module extends Component
if ($this instanceof Application) { if ($this instanceof Application) {
return ''; return '';
} elseif ($this->module) { } elseif ($this->module) {
return $this->module->getUniqueId() . '/' . $this->id; return ltrim($this->module->getUniqueId() . '/' . $this->id, '/');
} else { } else {
return $this->id; return $this->id;
} }
......
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