Browse Source

Fixes issue #643

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
203f4bfe3e
  1. 2
      framework/yii/base/Module.php

2
framework/yii/base/Module.php

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

Loading…
Cancel
Save