Skip to content

Commit

Permalink
bug fixs CCC-83
Browse files Browse the repository at this point in the history
  • Loading branch information
fozeek committed Dec 17, 2013
1 parent d415a13 commit 231d1b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 1 addition & 11 deletions src/PlaygroundGallery/Options/ModuleOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,5 @@

class ModuleOptions extends AbstractOptions
{
protected $languagePath = '/../../../language/';

public function setLanguagePath($languagePath)
{
$this->languagePath = $languagePath;
}

public function getLanguagePath()
{
return $this->languagePath;
}

}
2 changes: 2 additions & 0 deletions src/PlaygroundGallery/Service/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public function edit(array $data, $category)

$form->setData($data);

$category->setName($data['name']);

if (!$form->isValid()) {
return false;
}
Expand Down

0 comments on commit 231d1b3

Please sign in to comment.