Minor css fixes, delete/pause addresses, validation fixes for nodes with 0 in address

This commit is contained in:
Deon George
2021-07-02 00:25:41 +10:00
parent 88d189110d
commit 54bcdf4b13
7 changed files with 132 additions and 9 deletions

View File

@@ -16,9 +16,9 @@ class TwoByteInteger implements Rule
* @param mixed $value
* @return bool
*/
public function passes($attribute, $value)
public function passes($attribute,$value)
{
return (is_numeric($value) && ($value > 0) && ($value < DomainController::NUMBER_MAX)) || ($value === 'no');
return (is_numeric($value) && ($value > 0) && ($value < DomainController::NUMBER_MAX));
}
/**