Skip to content

Commit

Permalink
Fix #635 Activating a theme throw "Data type 'system' doesn't exist!"…
Browse files Browse the repository at this point in the history
… error
  • Loading branch information
flaviocopes committed Jun 2, 2016
1 parent 95e8d74 commit 9c35c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ public function taskActivate()
$this->grav['themes']->get($name);

// Store system configuration.
$system = $this->admin->data('system');
$system = $this->admin->data('config/system');
$system->set('pages.theme', $name);
$system->save();

Expand Down

0 comments on commit 9c35c8f

Please sign in to comment.