diff --git a/inc/functions/theme.php b/inc/functions/theme.php index 6ac3a95b..e4cb1134 100644 --- a/inc/functions/theme.php +++ b/inc/functions/theme.php @@ -31,10 +31,10 @@ function rebuild_themes(string $action, $boardname = false): void { } if (PHP_SAPI === 'cli') { - echo "Rebuilding theme ".$theme['theme']."... "; + echo "Rebuilding theme ".$theme[0]."... "; } - rebuild_theme($theme['theme'], $action, $boardname); + rebuild_theme($theme[0], $action, $boardname); if (PHP_SAPI === 'cli') { echo "done\n";