mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 01:11:28 +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:
@@ -2214,7 +2214,7 @@ class e107plugin
|
|||||||
{
|
{
|
||||||
//var_dump($field_attrib, $field_name, $type);
|
//var_dump($field_attrib, $field_name, $type);
|
||||||
$status = $this->module['ue']->user_extended_remove($field_name, $field_name);
|
$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']);
|
$status = $this->manage_extended_field_sql('remove', $field_attrib['name']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user