mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
Fixes changelog generator's handling of odd names in author field
tested and works with :, its escaped so it will work with " and \ too
This commit is contained in:
committed by
GitHub
parent
0fa74bee02
commit
640a81daa1
@@ -251,7 +251,7 @@ function checkchangelog($payload, $merge = false) {
|
||||
if (!count($changelogbody))
|
||||
return;
|
||||
|
||||
$file = 'author: '.trim(str_replace(array("\\", '"'), array("\\\\", "\\\""), $username))."\n";
|
||||
$file = 'author: "'.trim(str_replace(array("\\", '"'), array("\\\\", "\\\""), $username)).'"'."\n";
|
||||
$file .= "delete-after: True\n";
|
||||
$file .= "changes: \n";
|
||||
foreach ($changelogbody as $changelogitem) {
|
||||
|
||||
Reference in New Issue
Block a user