CC-2469:Client is sending data without checkout feedback flag
- fixed
This commit is contained in:
parent
3306292f93
commit
f8a1990ec1
|
@ -55,6 +55,7 @@ if (PEAR::isError($CC_DBC)) {
|
||||||
echo "* Connected to database".PHP_EOL;
|
echo "* Connected to database".PHP_EOL;
|
||||||
$CC_DBC->setFetchMode(DB_FETCHMODE_ASSOC);
|
$CC_DBC->setFetchMode(DB_FETCHMODE_ASSOC);
|
||||||
}
|
}
|
||||||
|
if(Application_Model_Preference::GetSupportFeedback() == '1'){
|
||||||
$infoArray = Application_Model_Preference::GetSystemInfo(true);
|
$infoArray = Application_Model_Preference::GetSystemInfo(true);
|
||||||
|
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
|
@ -68,4 +69,5 @@ $dataArray = array("data" => $data );
|
||||||
|
|
||||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $dataArray);
|
curl_setopt($ch, CURLOPT_POSTFIELDS, $dataArray);
|
||||||
$result = curl_exec($ch);
|
$result = curl_exec($ch);
|
||||||
|
}
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue