Skip to content
Snippets Groups Projects
Commit 6828e6e2 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

fixed databse bug

parent c87f2412
No related branches found
No related tags found
No related merge requests found
...@@ -330,7 +330,7 @@ class DB ...@@ -330,7 +330,7 @@ class DB
function getLatestFinishedMilestone($roadmapID) function getLatestFinishedMilestone($roadmapID)
{ {
$statement = self::$db->prepare("SELECT * FROM milestones WHERE RoadmapID=:roadmapID AND status = '1'; ORDER BY VersionCode DESC"); $statement = self::$db->prepare("SELECT * FROM milestones WHERE RoadmapID=:roadmapID AND status = '1' ORDER BY VersionCode DESC");
$statement->bindParam("roadmapID", $roadmapID); $statement->bindParam("roadmapID", $roadmapID);
$statement->execute(); $statement->execute();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment