Ignore:
Timestamp:
Apr 9, 2016, 7:29:00 AM (8 years ago)
Author:
ddtddt
Message:

[extensions] - user_custom_fields - save works copy - public profil

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_custom_fields/admin.php

    r31534 r31541  
    163163        if (isset($_GET['hide'])) {
    164164            check_input_parameter('hide', $_GET, false, PATTERN_ID);
    165             $query = 'UPDATE ' . UCF_TABLE . ' SET active = 0 WHERE id_ucf=' . $_GET['hide'] . ';';
     165            $query = 'UPDATE ' . UCF_TABLE . ' SET active = 0 , obligatory = 0 WHERE id_ucf=' . $_GET['hide'] . ';';
    166166            pwg_query($query);
    167167        }
Note: See TracChangeset for help on using the changeset viewer.