|
@@ -69,7 +69,7 @@ |
|
|
block discarded – undo |
|
69
|
69
|
*/ |
|
70
|
70
|
public function handle(ServerRequestInterface $request): ResponseInterface |
|
71
|
71
|
{ |
|
72
|
|
- $tree = Validator::attributes($request)->tree(); |
|
|
72
|
+ $tree = Validator::attributes($request)->tree(); |
|
73
|
73
|
if ($tree->hasPendingEdit()) { |
|
74
|
74
|
FlashMessages::addMessage(I18N::translate('Renumber XREFs') . ' — ' . e($tree->title()) . '<br>' . I18N::translate('There are pending changes for you to moderate.'), 'warning'); |
|
75
|
75
|
return redirect(route(PendingChanges::class, ['tree' => $tree->name()])); |
Please login to merge, or discard this patch.