update: fix yesterdays untestet commit "add boxname to update.php script"

Origin commit data
------------------
Commit: 9d73503d8d
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-06-11 (Tue, 11 Jun 2019)

Origin message was:
------------------
- update: fix yesterdays untestet commit "add boxname to update.php script"
This commit is contained in:
vanhofen
2019-06-11 18:02:42 +02:00
parent 58b7d6d3b6
commit 74753bc076

View File

@@ -153,7 +153,8 @@ void CFlashUpdate::update_php(std::string &url, const char* type)
if (url.find("update.php") != std::string::npos)
{
url += "?revision=" + to_string(cs_get_revision());
url += "&boxname=" + g_info.hw_caps->boxname;
url += "&boxname=";
url += g_info.hw_caps->boxname;
url += "&chip_type=" + to_string(cs_get_chip_type());
url += "&image_type=" + (std::string)type;
printf("[update_php] url %s\n", url.c_str());