Return raw queue name now that we are properly handling json response
This commit is contained in:
		
							parent
							
								
									ad46bc9bd9
								
							
						
					
					
						commit
						4bfaf9419f
					
				| 
						 | 
					@ -8,7 +8,7 @@ $data = array();
 | 
				
			||||||
foreach ( $queues as $queue ) {
 | 
					foreach ( $queues as $queue ) {
 | 
				
			||||||
   $newdata = array();
 | 
					   $newdata = array();
 | 
				
			||||||
   $newdata['id'] = $queue->getID();
 | 
					   $newdata['id'] = $queue->getID();
 | 
				
			||||||
   $newdata['name'] = $queue->getName(HTMLSAFE);
 | 
					   $newdata['name'] = $queue->getName();
 | 
				
			||||||
   $newdata['type'] = $queue->getType();
 | 
					   $newdata['type'] = $queue->getType();
 | 
				
			||||||
   $newdata['active'] = $queue->getActive();
 | 
					   $newdata['active'] = $queue->getActive();
 | 
				
			||||||
   $data['queues'][] = $newdata;
 | 
					   $data['queues'][] = $newdata;
 | 
				
			||||||
| 
						 | 
					@ -19,4 +19,4 @@ header('Content-Type: application/json');
 | 
				
			||||||
echo json_encode($data);
 | 
					echo json_encode($data);
 | 
				
			||||||
exit();
 | 
					exit();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
?>
 | 
					// vim: et ts=3 sw=3 ai:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user