Skip to content

Commit

Permalink
Release/2023.39 (ushahidi#4657)
Browse files Browse the repository at this point in the history
* Update Import.php
  • Loading branch information
webong authored and Mh-Asmi committed Oct 30, 2023
1 parent 7d0831d commit a569210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ushahidi/Modules/V3/Listener/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function handle(
// ... transform record
$entity = $this->transform($record);

// Ensure that under review is correctly mapped to draft
// Ensure that empty status or under review is correctly mapped to draft
if (is_null($entity->status) || strcasecmp($entity->status, 'under review') == 0) {
$entity->setState(['status' => 'draft']);
}
Expand Down

0 comments on commit a569210

Please sign in to comment.