Skip to content
Snippets Groups Projects
Commit dfe37d72 authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #5515 API client_template_additional_get always return just one template

parent db6af21d
No related branches found
No related tags found
No related merge requests found
......@@ -257,7 +257,7 @@ class remoting_client extends remoting {
if(@is_numeric($client_id)) {
$sql = "SELECT * FROM `client_template_assigned` WHERE `client_id` = ?";
return $app->db->queryOneRecord($sql, $client_id);
return $app->db->queryAllRecords($sql, $client_id);
} else {
throw new SoapFault('The ID must be an integer.');
return array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment