Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[TASK] Fix wording for one or more pages
  • Loading branch information
outdoorsman committed May 5, 2022
1 parent fee2825 commit 7496824
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -441,14 +441,14 @@ protected function checkAllPageContentForTo(array $validatedToWithDs): array
if (isset($validatedToWithDs[$row['tx_templavoilaplus_to']])) {
$validatedToWithDs[$row['tx_templavoilaplus_to']]['countUsage'] += $row['COUNT(`uid`)'];
} else {
$validationErrors[] = 'There is a page(s) using a non-existent Template Object with uid "' . $row['tx_templavoilaplus_to'] . '" like page with page uid: "' . $row['uid'] . '"';
$validationErrors[] = 'There is at least one page using a non-existent Template Object with uid "' . $row['tx_templavoilaplus_to'] . '" like page with page uid: "' . $row['uid'] . '"';
}
}
if ($row['tx_templavoilaplus_next_to'] != 0) {
if (isset($validatedToWithDs[$row['tx_templavoilaplus_next_to']])) {
$validatedToWithDs[$row['tx_templavoilaplus_next_to']]['countUsage'] += $row['COUNT(`uid`)'];
} else {
$validationErrors[] = 'There is a page(s) using a non-existent Template Object with uid "' . $row['tx_templavoilaplus_next_to'] . '" for subpages like page with page uid: "' . $row['uid'] . '"';
$validationErrors[] = 'There is at least one page using a non-existent Template Object with uid "' . $row['tx_templavoilaplus_next_to'] . '" for subpages like page with page uid: "' . $row['uid'] . '"';
}
}
}
Expand Down

0 comments on commit 7496824

Please sign in to comment.