Fix: [ bug #3268 ] SQL error when accessing thirdparty log page without a socid parameter
Close #3268
This commit is contained in:
parent
d422fac3fe
commit
3d6c5b09e8
@ -23,6 +23,7 @@ Fix: [ bug #2837 ] Product list table column header does not match column body
|
|||||||
Fix: [ bug #2835 ] Customer prices of a product shows incorrect history order
|
Fix: [ bug #2835 ] Customer prices of a product shows incorrect history order
|
||||||
Fix: [ bug #2814 ] JPEG photos are not displayed in Product photos page
|
Fix: [ bug #2814 ] JPEG photos are not displayed in Product photos page
|
||||||
Fix: [ bug #2715 ] Statistics page has broken layout with long thirdparty names
|
Fix: [ bug #2715 ] Statistics page has broken layout with long thirdparty names
|
||||||
|
Fix: [ bug #3268 ] SQL error when accessing thirdparty log page without a socid parameter
|
||||||
|
|
||||||
***** ChangeLog for 3.5.6 compared to 3.5.5 *****
|
***** ChangeLog for 3.5.6 compared to 3.5.5 *****
|
||||||
Fix: Avoid missing class error for fetch_thirdparty method #1973
|
Fix: Avoid missing class error for fetch_thirdparty method #1973
|
||||||
|
|||||||
@ -60,24 +60,25 @@ $help_url='EN:Module_Third_Parties|FR:Module_Tiers|ES:Empresas';
|
|||||||
llxHeader('',$langs->trans("ThirdParty"),$help_url);
|
llxHeader('',$langs->trans("ThirdParty"),$help_url);
|
||||||
|
|
||||||
$soc = new Societe($db);
|
$soc = new Societe($db);
|
||||||
$soc->fetch($socid);
|
$result = $soc->fetch($socid);
|
||||||
$soc->info($socid);
|
|
||||||
|
|
||||||
/*
|
if ($result > 1) {
|
||||||
* Affichage onglets
|
$soc->info($socid);
|
||||||
*/
|
|
||||||
$head = societe_prepare_head($soc);
|
|
||||||
|
|
||||||
dol_fiche_head($head, 'info', $langs->trans("ThirdParty"),0,'company');
|
/*
|
||||||
|
* Affichage onglets
|
||||||
|
*/
|
||||||
|
$head = societe_prepare_head($soc);
|
||||||
|
|
||||||
|
dol_fiche_head($head, 'info', $langs->trans("ThirdParty"), 0, 'company');
|
||||||
|
|
||||||
|
|
||||||
|
print '<table width="100%"><tr><td>';
|
||||||
|
dol_print_object_info($soc);
|
||||||
|
print '</td></tr></table>';
|
||||||
|
|
||||||
print '<table width="100%"><tr><td>';
|
print '</div>';
|
||||||
dol_print_object_info($soc);
|
}
|
||||||
print '</td></tr></table>';
|
|
||||||
|
|
||||||
print '</div>';
|
|
||||||
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user