Commit 79671ab8 authored by Jonathon Duerig's avatar Jonathon Duerig

Fix query in LookupByName to fetch the profile version specified rather than the latest profile

parent 094c8fc9
......@@ -180,7 +180,7 @@ class Profile
else {
$safe_version = addslashes($version);
$query_result =
DBQueryWarn("select i.profileid,i.version ".
DBQueryWarn("select i.profileid,v.version ".
" from apt_profiles as i ".
"left join apt_profile_versions as v on ".
" v.profileid=i.profileid ".
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment