mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 21:40:28 +03:00
Fix bug in groups saving
This commit is contained in:
parent
f72a0187be
commit
9436b486f9
@ -73,7 +73,7 @@ function create_group($group)
|
|||||||
"vccommondescription,vcemail,vctitle,vcchattitle,vchosturl,vclogo,iweight) " .
|
"vccommondescription,vcemail,vctitle,vcchattitle,vchosturl,vclogo,iweight) " .
|
||||||
"values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
|
"values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
|
||||||
array(
|
array(
|
||||||
($group['parent'] ? (int)$group['parent'] : 'NULL'),
|
($group['parent'] ? (int)$group['parent'] : NULL),
|
||||||
$group['name'],
|
$group['name'],
|
||||||
$group['description'],
|
$group['description'],
|
||||||
$group['commonname'],
|
$group['commonname'],
|
||||||
@ -113,7 +113,7 @@ function update_group($group)
|
|||||||
"vccommonname = ?, vccommondescription = ?, vcemail = ?, vctitle = ?, " .
|
"vccommonname = ?, vccommondescription = ?, vcemail = ?, vctitle = ?, " .
|
||||||
"vcchattitle = ?, vchosturl = ?, vclogo = ?, iweight = ? where groupid = ?",
|
"vcchattitle = ?, vchosturl = ?, vclogo = ?, iweight = ? where groupid = ?",
|
||||||
array(
|
array(
|
||||||
($group['parent'] ? (int)$group['parent'] : 'NULL'),
|
($group['parent'] ? (int)$group['parent'] : NULL),
|
||||||
$group['name'],
|
$group['name'],
|
||||||
$group['description'],
|
$group['description'],
|
||||||
$group['commonname'],
|
$group['commonname'],
|
||||||
|
Loading…
Reference in New Issue
Block a user