summaryrefslogtreecommitdiff
path: root/includes/sys_page.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-09-29 12:08:12 +0200
committermsquare <msquare@notrademark.de>2016-09-29 12:08:12 +0200
commitf05f1a3cd4cc3a9fa6021d2c5feedd7e734973ba (patch)
treed1c2404dc56f6d1d0a3ed402d0a3880e77b70a17 /includes/sys_page.php
parent81e5a6482c340d3013c9fce54c10ef1a72a5a930 (diff)
rename to
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;
}