Skip to content

Commit

Permalink
fix for false error when deleting plugin DB field #5031
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmi08 committed Aug 6, 2023
1 parent 7fb3405 commit 311453f
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 311453f

Please sign in to comment.