Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Allow empty reason.
Browse files Browse the repository at this point in the history
  • Loading branch information
xendk committed Jun 9, 2015
1 parent 952c303 commit 4ab6b00
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bandaid.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,7 @@ function drush_bandaid_patch($patch = NULL, $project = NULL) {
}
}

if (!empty($reason)) {
$new_patch['reason'] = $reason;
}
$new_patch['reason'] = $reason;

$project->addPatch($new_patch);
$project->save();
Expand Down

0 comments on commit 4ab6b00

Please sign in to comment.