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

Merge pull request #5032 from Jimmi08/patch-9

Fixes #5031 for false error when deleting plugin DB field
This commit is contained in:
Cameron
2023-07-10 12:23:32 -07:00
committed by GitHub

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']);
}