Merge branch 'stable' into next-minor

This commit is contained in:
Dylan K. Taylor
2021-12-10 19:15:57 +00:00
11 changed files with 62 additions and 16 deletions

View File

@ -206,7 +206,7 @@ class SimpleCommandMap implements CommandMap{
foreach($matches[0] as $k => $_){
for($i = 1; $i <= 2; ++$i){
if($matches[$i][$k] !== ""){
$args[$k] = stripslashes($matches[$i][$k]);
$args[$k] = $i === 1 ? stripslashes($matches[$i][$k]) : $matches[$i][$k];
break;
}
}