mirror of https://github.com/MISP/MISP
No feedback from the failed numeric test for incorrect server settings
parent
fa367febfa
commit
b69e51e867
|
@ -891,7 +891,7 @@ class Server extends AppModel {
|
|||
}
|
||||
|
||||
public function testForNumeric($value) {
|
||||
if (!is_numeric($value)) return false;
|
||||
if (!is_numeric($value)) return 'This setting has to be a number.';
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue