mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
MINOR: getSetting needs to be public to be accessibile from UserDefinedForm.php
This commit is contained in:
parent
049d42769a
commit
5beaaf834b
@ -101,7 +101,7 @@ class EditableFormField extends DataObject {
|
||||
* @param String Value to use as key
|
||||
* @return String
|
||||
*/
|
||||
protected function getSetting($setting) {
|
||||
public function getSetting($setting) {
|
||||
$settings = $this->getFieldSettings();
|
||||
if(isset($settings) && count($settings) > 0) {
|
||||
if(isset($settings[$setting])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user