Skip to content
This repository was archived by the owner on Sep 23, 2023. It is now read-only.

Commit 351673a

Browse files
edg2sMatmaRex
authored andcommitted
PatchSelectWidget: Use sanitized patch list data
We already cast null to [] elsewhere, so use it here. Fixes #288
1 parent fc091c1 commit 351673a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
$wikiData = get_wiki_data_from_row( $data );
242242
$wiki = $data['wiki'];
243243

244-
$wikiPatches[$wiki] = json_decode( $data['patches'] );
244+
$wikiPatches[$wiki] = $wikiData['patches'];
245245

246246
$closed = false;
247247
$patches = format_patch_list( $wikiData['patchList'], $wikiData['branch'], $closed );

0 commit comments

Comments
 (0)