Add logs
This commit is contained in:
parent
72069dc208
commit
be6b1e29ad
@ -249,7 +249,10 @@ function getURLContent($url, $postorget = 'GET', $param = '', $followlocation =
|
||||
$request = curl_getinfo($ch, CURLINFO_HEADER_OUT); // Reading of request must be done after sending request
|
||||
|
||||
dol_syslog("getURLContent request=".$request);
|
||||
//dol_syslog("getURLContent response =".response); // This may contains binary data, so we dont output it
|
||||
if (!empty($conf->global->MAIN_GETURLCONTENT_OUTPUT_RESPONSE)) {
|
||||
// This may contains binary data, so we dont output reponse by default.
|
||||
dol_syslog("getURLContent response =".response);
|
||||
}
|
||||
dol_syslog("getURLContent response size=".strlen($response)); // This may contains binary data, so we dont output it
|
||||
|
||||
$rep = array();
|
||||
|
||||
@ -21,6 +21,8 @@ if (empty($conf) || !is_object($conf)) {
|
||||
exit;
|
||||
}
|
||||
|
||||
print '<!-- linesalesrepresentative.tpl.php -->';
|
||||
|
||||
// Sale representative
|
||||
print '<tr><td>';
|
||||
print '<table class="nobordernopadding" width="100%"><tr><td>';
|
||||
@ -45,7 +47,7 @@ if ($action == 'editsalesrepresentatives') {
|
||||
$arrayselected = $object->getSalesRepresentatives($user, 1);
|
||||
}
|
||||
print $form->multiselectarray('commercial', $userlist, $arrayselected, null, null, null, null, "90%");
|
||||
print '<input type="submit" class="button valignmiddle" value="'.$langs->trans("Modify").'" />';
|
||||
print '<input type="submit" class="button valignmiddle small" value="'.$langs->trans("Modify").'" />';
|
||||
print '</form>';
|
||||
} else {
|
||||
$listsalesrepresentatives = $object->getSalesRepresentatives($user);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user