par defaut, si appel de la fonction -> editable = non
This commit is contained in:
parent
ec5dcd9fe8
commit
bc4922f87d
1 changed files with 1 additions and 1 deletions
|
@ -39,8 +39,8 @@ function action_creer_slug_dist($slug = null, $opt = []){
|
||||||
$set['slug'] = $slug;
|
$set['slug'] = $slug;
|
||||||
}
|
}
|
||||||
if (is_array($opt) and count($opt)) {
|
if (is_array($opt) and count($opt)) {
|
||||||
|
$set['editable'] = 'non';
|
||||||
$set = array_merge($set, $opt);
|
$set = array_merge($set, $opt);
|
||||||
//$set['editable'] = '';
|
|
||||||
}
|
}
|
||||||
sql_updateq('spip_gamumails', $set, 'id_gamumail = '.$id_slug);
|
sql_updateq('spip_gamumails', $set, 'id_gamumail = '.$id_slug);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue