mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-18 03:30:55 +01:00
Do not use the short syntax for arrays
This commit is contained in:
@@ -54,7 +54,7 @@ class Repository extends BaseRepository
|
||||
. "</item>\" $file"
|
||||
);
|
||||
|
||||
$patch_collection = [];
|
||||
$patch_collection = array();
|
||||
foreach ( preg_split('/('.$record_delimiter.'\<item\>)/', $file_patches,null, PREG_SPLIT_NO_EMPTY) as $patches) {
|
||||
$patches = '<item>' . $patches;
|
||||
$xmlEnd = strpos($patches, '</item>') + 7;
|
||||
|
||||
Reference in New Issue
Block a user