aboutsummaryrefslogtreecommitdiff
path: root/w/class/art2.php
diff options
context:
space:
mode:
Diffstat (limited to 'w/class/art2.php')
-rw-r--r--w/class/art2.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/w/class/art2.php b/w/class/art2.php
index 5bad524..970058b 100644
--- a/w/class/art2.php
+++ b/w/class/art2.php
@@ -82,7 +82,7 @@ class Art2
$this->setaside('');
$this->setfooter('');
$this->setrender('');
- $this->setsecure(2);
+ $this->setsecure(3);
$this->setinvitepassword('invitepassword');
$this->setinterface('section');
$this->setlinkfrom([]);
@@ -276,7 +276,9 @@ class Art2
public function render($type = 'string')
{
- return $this->render;
+ if($type == 'string') {
+ return $this->render;
+ }
}
public function secure($type = 'int')
@@ -496,7 +498,7 @@ class Art2
}
}
- public function setrender($render)
+ public function setrender(string $render)
{
$this->render = $render;
}