mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Merge pull request #120 from silverstripe-rebelalliance/esr
BUG: with the enforcement of allowed_actions in 3.2 getLocaleForObject is blocked
This commit is contained in:
commit
42f048f34a
@ -7,6 +7,10 @@
|
||||
*/
|
||||
class LanguageDropdownField extends GroupedDropdownField {
|
||||
|
||||
private static $allowed_actions = array(
|
||||
'getLocaleForObject'
|
||||
);
|
||||
|
||||
/**
|
||||
* Create a new LanguageDropdownField
|
||||
* @param string $name
|
||||
|
Loading…
Reference in New Issue
Block a user