mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Merge branch '726-Uso-de-tabla-enterprise-en-versión-6-open' into 'pandora_6.0'
Insert skin and password fields on group creator insert only in enterprise 6 version - 726 See merge request !423
This commit is contained in:
commit
f4e6c2fa6e
@ -197,13 +197,16 @@ if (($create_group) && (check_acl($config['id_user'], 0, "PM"))) {
|
||||
'parent' => $id_parent,
|
||||
'disabled' => $alerts_disabled,
|
||||
'custom_id' => $custom_id,
|
||||
'id_skin' => $skin,
|
||||
'description' => $description,
|
||||
'contact' => $contact,
|
||||
'propagate' => $propagate,
|
||||
'other' => $other,
|
||||
'password' => io_safe_input($group_pass)
|
||||
'other' => $other
|
||||
);
|
||||
|
||||
if(enterprise_installed()){
|
||||
$values['id_skin'] = $skin;
|
||||
$values['password'] = io_safe_input($group_pass);
|
||||
}
|
||||
|
||||
$result = db_process_sql_insert('tgrupo', $values);
|
||||
if ($result) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user