diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-05 13:41:27 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-05 13:41:27 +0100 |
commit | e7bdf04e3e58aa2c1821918b72753f274d3684fb (patch) | |
tree | ba336324aeb65509f67f4791e06d08a70f3f12f1 /w/class/art2.php | |
parent | 85824de70ded75c98bd50220160e2171fdc8df41 (diff) | |
download | wcms-e7bdf04e3e58aa2c1821918b72753f274d3684fb.tar.gz wcms-e7bdf04e3e58aa2c1821918b72753f274d3684fb.zip |
render function only body
Diffstat (limited to 'w/class/art2.php')
-rw-r--r-- | w/class/art2.php | 8 |
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; } |