mirror of
				https://github.com/Mibew/i18n.git
				synced 2025-11-01 01:36:57 +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) " . | ||||
| 		"values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", | ||||
| 		array( | ||||
| 			($group['parent'] ? (int)$group['parent'] : 'NULL'), | ||||
| 			($group['parent'] ? (int)$group['parent'] : NULL), | ||||
| 			$group['name'], | ||||
| 			$group['description'], | ||||
| 			$group['commonname'], | ||||
| @ -113,7 +113,7 @@ function update_group($group) | ||||
| 		"vccommonname = ?, vccommondescription = ?, vcemail = ?, vctitle = ?, " . | ||||
| 		"vcchattitle = ?, vchosturl = ?, vclogo = ?, iweight = ? where groupid = ?", | ||||
| 		array( | ||||
| 			($group['parent'] ? (int)$group['parent'] : 'NULL'), | ||||
| 			($group['parent'] ? (int)$group['parent'] : NULL), | ||||
| 			$group['name'], | ||||
| 			$group['description'], | ||||
| 			$group['commonname'], | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user