aboutsummaryrefslogtreecommitdiff
path: root/app/class
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-30 04:13:14 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-30 04:13:14 +0100
commitf3bc327be7be8a1aeeb49c7f46c86628e5d52e77 (patch)
tree1cff58f877471deeadf2b19e949f0c19d99fd97c /app/class
parent27f1fb9c19fa2c2fd28863809ccc6ba526499c0d (diff)
downloadwcms-f3bc327be7be8a1aeeb49c7f46c86628e5d52e77.tar.gz
wcms-f3bc327be7be8a1aeeb49c7f46c86628e5d52e77.zip
multi edit can unset templates thumbnail favicon
Diffstat (limited to 'app/class')
-rw-r--r--app/class/Controllerhome.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/class/Controllerhome.php b/app/class/Controllerhome.php
index 02d6c9d..c7d1792 100644
--- a/app/class/Controllerhome.php
+++ b/app/class/Controllerhome.php
@@ -166,6 +166,13 @@ class Controllerhome extends Controllerpage
$datas = array_filter($datas, function ($var) {
return $var !== "";
});
+ $datas = array_map(function ($value) {
+ if($value === "!") {
+ return "";
+ } else {
+ return $value;
+ }
+ }, $datas);
$reset = $_POST['reset'] ?? [];
$addtag = $_POST['addtag'] ?? '';
$addauthor = $_POST['addauthor'] ?? '';