From a8ed9070e7773f3147a33dbee7d45ce24bd8959d Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Mon, 21 Jan 2019 14:30:08 +0100 Subject: security htaccess, render class of link --- app/class/art2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/class/art2.php') diff --git a/app/class/art2.php b/app/class/art2.php index a7e94f3..7354e8c 100644 --- a/app/class/art2.php +++ b/app/class/art2.php @@ -304,7 +304,7 @@ class Art2 if ($type == 'string') { if ($this->secure == 0) $secure = 'public'; if ($this->secure == 1) $secure = 'private'; - if ($this->secure == 2) $secure = 'not published'; + if ($this->secure == 2) $secure = 'not_published'; return $secure; } else { return $this->secure; -- cgit v1.2.3