1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

fix for false error when deleting plugin DB field #5031

https://github.com/e107inc/e107/issues/5031
This commit is contained in:
Jimako
2023-07-02 10:57:53 +02:00
committed by GitHub
parent b893cba9b6
commit 46a063a8f5

View File

@@ -2214,7 +2214,7 @@ class e107plugin
{
//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']);
}