Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project follows the
which is based on the major version of Backdrop CMS with a semantic version
system for each contributed module, theme and layout.

## [Unreleased] - 2026-01-30
## [Unreleased] - 2026-02-18

### Added
- An option for the `db-import` command to allow import from newer MariaDB
Expand All @@ -18,6 +18,8 @@ database or client does not support it.
- The ability to download specified releases or branches of modules, themes,
layout templates or Backdrop itself.
- Command to convert database to UTF8MB4.
- Defensive coding to prevent warnings if a module or theme exists in the
`system` table but not in the file system.

### Fixed
- Unhandled errors and warnings if commands run outside Backdrop root and/or
Expand Down
16 changes: 14 additions & 2 deletions commands/projects.bee.inc
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,13 @@ function enable_bee_callback($arguments, $options) {
switch ($type) {
case 'module':
// Get module info.
$module = $modules[$project];
$module = $modules[$project] ?? FALSE;
if (!$module) {
bee_message(bt("Project '!name' could not be found.", array(
'!name' => $project,
)), 'error');
continue 2;
}
$name = $module->info['name'];

// Check if already enabled.
Expand Down Expand Up @@ -260,7 +266,13 @@ function enable_bee_callback($arguments, $options) {
break;
case 'theme':
// Get theme info.
$theme = $themes[$project];
$theme = $themes[$project] ?? FALSE;
if (!$theme) {
bee_message(bt("Project '!name' could not be found.", array(
'!name' => $project,
)), 'error');
continue 2;
}
$name = $theme->info['name'];

// Check if already enabled.
Expand Down
Loading