summaryrefslogtreecommitdiff
path: root/includes/sys_page.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/sys_page.php')
-rw-r--r--includes/sys_page.php8
1 files changed, 4 insertions, 4 deletions
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;
}