Fix slug to be lowercase

This commit is contained in:
Flavio Copes
2015-08-12 15:35:45 +02:00
parent e47b3e73d3
commit 42e6d587d8

View File

@@ -16,7 +16,7 @@ class Package extends BasePackage
$this->settings = $package->toArray();
$html_description = \Parsedown::instance()->line($this->description);
$this->data->set('slug', $this->name);
$this->data->set('slug', strtolower($this->name));
$this->data->set('description_html', $html_description);
$this->data->set('description_plain', strip_tags($html_description));
$this->data->set('symlink', is_link(USER_DIR . $package_type . DS . $this->name));