mirror of
				https://github.com/Mibew/design.git
				synced 2025-10-31 10:31:05 +03:00 
			
		
		
		
	Fix bug with redicection user to a group
This commit is contained in:
		
							parent
							
								
									1ecda26d3d
								
							
						
					
					
						commit
						2a656a58d5
					
				| @ -46,7 +46,8 @@ if (isset($_GET['nextGroup'])) { | |||||||
| 			$thread->nextAgent = 0; | 			$thread->nextAgent = 0; | ||||||
| 			$thread->groupId = $nextid; | 			$thread->groupId = $nextid; | ||||||
| 			$thread->agentId = 0; | 			$thread->agentId = 0; | ||||||
| 			$thread->agentName = "''"; | 			$thread->agentName = ''; | ||||||
|  | 			$thread->save(); | ||||||
| 
 | 
 | ||||||
| 			$thread->postMessage( | 			$thread->postMessage( | ||||||
| 				Thread::KIND_EVENTS, | 				Thread::KIND_EVENTS, | ||||||
|  | |||||||
| @ -149,7 +149,7 @@ function print_pending_threads($groupids, $since) | |||||||
| 		$thread = Thread::createFromDbInfo($row); | 		$thread = Thread::createFromDbInfo($row); | ||||||
| 		$thread_info = array( | 		$thread_info = array( | ||||||
| 			'thread' => $thread, | 			'thread' => $thread, | ||||||
| 			'groupName' => $row['groupname'] | 			'groupname' => $row['groupname'] | ||||||
| 		); | 		); | ||||||
| 		$thread_as_xml = thread_to_xml($thread_info); | 		$thread_as_xml = thread_to_xml($thread_info); | ||||||
| 		$output[] = $thread_as_xml; | 		$output[] = $thread_as_xml; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user