1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

Fix for User-Extended checkbox field creation.

This commit is contained in:
Cameron
2016-04-02 12:47:27 -07:00
parent 46b2518e82
commit fb3a92ff9e
5 changed files with 36 additions and 7 deletions

View File

@@ -665,7 +665,7 @@ class e107plugin
$type_name = $this->ue_field_type_name($type);
$mes->addDebug("Extended Field: ".$action.": ".$field_name." : ".$type_name);
// predefined
if($type == EUF_PREFIELD)
{
@@ -748,6 +748,7 @@ class e107plugin
}
//var_dump($field_attrib, $field_name, $type);
$mes->addDebug("Extended Field: ".print_a($field_attrib,true));
$status = $this->module['ue']->user_extended_add(
$field_name,
@@ -2264,7 +2265,7 @@ class e107plugin
switch ($function)
{
case 'install': // Add all active extended fields
case 'upgrade':
case 'upgrade':
if (!$remove)
{