mirror of https://github.com/MISP/MISP
fix: [attribute:validation] Typo in function name
parent
91e6a4ba4a
commit
c14c6efde0
|
@ -619,7 +619,7 @@ class Attribute extends AppModel
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$attribute = $this->beforeVAlidateMassage($attribute);
|
$attribute = $this->beforeValidateMassage($attribute);
|
||||||
|
|
||||||
// return true, otherwise the object cannot be saved
|
// return true, otherwise the object cannot be saved
|
||||||
return true;
|
return true;
|
||||||
|
@ -2682,7 +2682,7 @@ class Attribute extends AppModel
|
||||||
|
|
||||||
// run the beforevalidation massage at this point so we can skip validation in round 2
|
// run the beforevalidation massage at this point so we can skip validation in round 2
|
||||||
foreach ($attributes as $k => $attribute) {
|
foreach ($attributes as $k => $attribute) {
|
||||||
$attributes[$k] = $this->beforeVAlidateMassage($attribute);
|
$attributes[$k] = $this->beforeValidateMassage($attribute);
|
||||||
}
|
}
|
||||||
|
|
||||||
// validation only so we can cull the problematic attributes
|
// validation only so we can cull the problematic attributes
|
||||||
|
|
Loading…
Reference in New Issue