mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
MINOR: removed undefined method call
This commit is contained in:
parent
71d0d4223d
commit
9520b8693e
@ -319,7 +319,7 @@ class UserDefinedForm_Controller extends Page_Controller {
|
||||
}
|
||||
|
||||
// Is this Field Show by Default
|
||||
if(!$field->ShowOnLoad()) {
|
||||
if(!$field->ShowOnLoad) {
|
||||
$defaults .= "$(\"#" . $fieldId . "\").hide();\n";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user