mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Fix an issue where versus diffs tried to load invalid changeset IDs
Auditors: btrahan
This commit is contained in:
parent
1858d2aa66
commit
c509e80a74
1 changed files with 2 additions and 2 deletions
|
@ -494,8 +494,8 @@ final class DifferentialRevision extends DifferentialDAO
|
|||
|
||||
$old_ids = $request->getStr('old', idx($render_data, 'old'));
|
||||
$new_ids = $request->getStr('new', idx($render_data, 'new'));
|
||||
$old_ids = explode(',', $old_ids);
|
||||
$new_ids = explode(',', $new_ids);
|
||||
$old_ids = array_filter(explode(',', $old_ids));
|
||||
$new_ids = array_filter(explode(',', $new_ids));
|
||||
|
||||
$type_inline = DifferentialTransaction::TYPE_INLINE;
|
||||
$changeset_ids = array_merge($old_ids, $new_ids);
|
||||
|
|
Loading…
Reference in a new issue