mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: #2470 Fix PHP notice (cmswarrior)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56949 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
1107757128
commit
87a43ce8c1
@ -25,6 +25,8 @@ class ComplexRequiredFields extends RequiredFields{
|
|||||||
* which is generated at the header of each page
|
* which is generated at the header of each page
|
||||||
*/
|
*/
|
||||||
function javascript() {
|
function javascript() {
|
||||||
|
$code = '';
|
||||||
|
|
||||||
foreach($this->form->Fields() as $field){
|
foreach($this->form->Fields() as $field){
|
||||||
//if the field type has some special specific specification for validation of itself
|
//if the field type has some special specific specification for validation of itself
|
||||||
$valid = $field->jsValidation();
|
$valid = $field->jsValidation();
|
||||||
|
Loading…
Reference in New Issue
Block a user