tools: make sure update_versions actually puts the api_version into the xml_doc field.

This commit is contained in:
Rom Walton 2014-07-31 14:28:39 -04:00
parent c761050185
commit 7feae3ae7f
1 changed files with 2 additions and 2 deletions

View File

@ -460,9 +460,9 @@ function process_version($a, $v, $p) {
" <app_name>".$app->name."</app_name>\n".
" <version_num>".parse_version($v)."</version_num>\n"
;
if (strlen($v->api_version)) {
if (strlen($vers->api_version)) {
$xml .=
" <api_version>$api_version</api_version>\n"
" <api_version>$vers->api_version</api_version>\n"
;
}
foreach ($fds as $fd) {