Merge remote-tracking branch 'origin/QA_4_7' into QA_4_7
This commit is contained in:
commit
1af7cb1abe
@ -85,6 +85,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #13021 Show phpMyAdmin errors even with error_reporting set to 0
|
||||
- issue #13020 Removed warning about client and server versions mismatch
|
||||
- issue Hide comments on table Structure tab when no comment is set
|
||||
- issue Fixed submission of error reports
|
||||
|
||||
4.6.6 (2017-01-23)
|
||||
- issue #12759 Fix Notice regarding 'Undefined index: old_usergroup'
|
||||
|
||||
@ -4779,7 +4779,6 @@ class Util
|
||||
}
|
||||
if ($header) {
|
||||
curl_setopt($curl_handle, CURLOPT_HTTPHEADER, array($header));
|
||||
curl_setopt($curl_handle, CURLOPT_HEADER, true);
|
||||
}
|
||||
|
||||
if ($method == "POST") {
|
||||
|
||||
@ -178,8 +178,13 @@ function PMA_sanitizeUrl($url)
|
||||
*/
|
||||
function PMA_sendErrorReport($report)
|
||||
{
|
||||
$data_string = json_encode($report);
|
||||
$response = PMA\libraries\Util::httpRequest(SUBMISSION_URL, "POST", false, $data_string, "Content-Type: application/json\r\n");
|
||||
$response = PMA\libraries\Util::httpRequest(
|
||||
SUBMISSION_URL,
|
||||
"POST",
|
||||
false,
|
||||
json_encode($report),
|
||||
"Content-Type: application/json"
|
||||
);
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user