Skip to content

Commit dfe37d7

Browse files
author
Till Brehm
committed
Fixed #5515 API client_template_additional_get always return just one template
1 parent db6af21 commit dfe37d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/remote.d/client.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public function client_template_additional_get($session_id, $client_id) {
257257

258258
if(@is_numeric($client_id)) {
259259
$sql = "SELECT * FROM `client_template_assigned` WHERE `client_id` = ?";
260-
return $app->db->queryOneRecord($sql, $client_id);
260+
return $app->db->queryAllRecords($sql, $client_id);
261261
} else {
262262
throw new SoapFault('The ID must be an integer.');
263263
return array();

0 commit comments

Comments
 (0)