From 46a063a8f518de7e739fa6e853b8df0934628969 Mon Sep 17 00:00:00 2001 From: Jimako Date: Sun, 2 Jul 2023 10:57:53 +0200 Subject: [PATCH] fix for false error when deleting plugin DB field #5031 https://github.com/e107inc/e107/issues/5031 --- e107_handlers/plugin_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/plugin_class.php b/e107_handlers/plugin_class.php index adf1d6a562..6a23b9496f 100644 --- a/e107_handlers/plugin_class.php +++ b/e107_handlers/plugin_class.php @@ -2214,7 +2214,7 @@ private function manage_extended_field($action, $field_name, $field_attrib, $fie { //var_dump($field_attrib, $field_name, $type); $status = $this->module['ue']->user_extended_remove($field_name, $field_name); - if($status && $type == EUF_DB_FIELD) + if($status && $type == EUF_DB_FIELD && strpos($field_name, 'plugin_') != 0) { $status = $this->manage_extended_field_sql('remove', $field_attrib['name']); }