Skip to content

Commit

Permalink
Merge pull request #5032 from Jimmi08/patch-9
Browse files Browse the repository at this point in the history
Fixes #5031 for false error when deleting plugin DB field
  • Loading branch information
CaMer0n authored Jul 10, 2023
2 parents 044481a + 46a063a commit 1ee2e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e107_handlers/plugin_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
Expand Down

0 comments on commit 1ee2e9f

Please sign in to comment.