Skip to content

Commit

Permalink
Fix mode option name in data integrity CLI (#1844)
Browse files Browse the repository at this point in the history
Change the mode option to use the name 'mode' instead of 'fix' so that
it is not ignored.
  • Loading branch information
anvit committed Jul 22, 2024
1 parent 778a017 commit 79c9d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/task/tools/dataIntegrityRepairTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private function performDataIntegrityChecks($filename, $options = [])

$this->report($filename, $affectedIosById, $affectedIosAndDescendantIds);

switch ($options['fix']) {
switch ($options['mode']) {
case 'fix':
$this->fix($affectedIosById);

Expand Down

0 comments on commit 79c9d3a

Please sign in to comment.