Subversion Repository Public Repository

Nextrek

Diff Revisions 586 vs 587 for /Android/SmartCharging/endPoints/nightly/get_commenti.php

Diff revisions: vs.
  @@ -27,8 +27,10 @@
27 27
28 28 $comment_repo = new CommentRepository($conn);
29 29
30 + $countComments = $comment_repo->countComments($params["id"]);
30 31 $comments = $comment_repo->getComments($params["id"], $params["startIndex"], $params["length"]);
31 32
33 + $risposta["count"] = $countComments;
32 34 $risposta["id"] = $params["id"];
33 35 $risposta["comments"] = $comments;
34 36