From f05f1a3cd4cc3a9fa6021d2c5feedd7e734973ba Mon Sep 17 00:00:00 2001 From: msquare Date: Thu, 29 Sep 2016 12:08:12 +0200 Subject: rename to --- includes/sys_page.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes/sys_page.php') diff --git a/includes/sys_page.php b/includes/sys_page.php index 6b71eb15..78972448 100644 --- a/includes/sys_page.php +++ b/includes/sys_page.php @@ -102,20 +102,20 @@ function check_email($email) { class ValidationResult { - private $ok; + private $valid; private $value; /** * Constructor. * - * @param boolean $ok + * @param boolean $valid * Is the value valid? * @param * $value * The validated value */ - public function ValidationResult($ok, $value) { - $this->ok = $ok; + public function ValidationResult($valid, $value) { + $this->ok = $valid; $this->value = $value; } -- cgit v1.2.3-54-g00ecf