mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-28 20:29:15 +02:00
Fix i18n.sprintf() parameters being off by one
Should be a post increment, not pre. This fixes clicking on specific version history items. This fixes right click on a page and adding a child.
This commit is contained in:
parent
827d989836
commit
8eede847cd
@ -146,7 +146,7 @@ class i18n {
|
|||||||
return match;
|
return match;
|
||||||
}
|
}
|
||||||
|
|
||||||
return subMatch1 + params[i += 1];
|
return subMatch1 + params[i++];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user