From 6d4b627fff5799ed87278c8f08becbf63183361d Mon Sep 17 00:00:00 2001 From: Stanislas Date: Thu, 10 Oct 2024 09:22:25 +0200 Subject: [PATCH] Feat(User): add default_entity (#419) * Feat(User): add default_entity * adapt CHANGELOG --- CHANGELOG.md | 1 + inc/userinjection.class.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4b8389..2d50a83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added - Display max upload size +- Add ```default_entity``` to ```User``` injection mapping ### Fixed diff --git a/inc/userinjection.class.php b/inc/userinjection.class.php index 31ee463..cbb0dad 100644 --- a/inc/userinjection.class.php +++ b/inc/userinjection.class.php @@ -99,7 +99,7 @@ public function getOptions($primary_type = '') //Remove some options because some fields cannot be imported $blacklist = PluginDatainjectionCommonInjectionLib::getBlacklistedOptions(get_parent_class($this)); - $notimportable = [13, 14, 15, 17, 20, 23, 30, 31, 60, 61, 77, 91, 92, 93]; + $notimportable = [13, 14, 15, 17, 20, 23, 30, 31, 60, 61, 91, 92, 93]; $options['ignore_fields'] = array_merge($blacklist, $notimportable);