Skip to content

Commit

Permalink
Update Controller.php
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Jan 21, 2015
1 parent 8574170 commit 63bc6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Barryvdh/TranslationManager/Controller.php
Expand Up @@ -92,7 +92,7 @@ public function postEdit($group)

public function postDelete($group, $key)
{
if(!in_array($group, $this->manager->getConfig('exclude_groups')) && !$this->manager->getConfig('delete_enabled')) {
if(!in_array($group, $this->manager->getConfig('exclude_groups')) && $this->manager->getConfig('delete_enabled')) {
Translation::where('group', $group)->where('key', $key)->delete();
return array('status' => 'ok');
}
Expand Down

0 comments on commit 63bc6a4

Please sign in to comment.