Skip to content

Commit

Permalink
fix(theme): access path property correctly
Browse files Browse the repository at this point in the history
Fixes #703
  • Loading branch information
Chris Charabaruk committed Nov 3, 2022
1 parent 468e0d7 commit 026c780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PodcastGenerator/admin/theme_change.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
goto error;
}

if (!$config->set('theme_path', $themes[$_GET['change']][0], true)) {
if (!$config->set('theme_path', $themes[$_GET['change']]->path, true)) {
$error = _('Could not set theme');
goto error;
}
Expand Down

0 comments on commit 026c780

Please sign in to comment.