diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index c261c5fa50a..2e51597bf91 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -48,7 +48,7 @@ $quality = 80; * Actions */ -if ( (isset($_POST["action"]) && $_POST["action"] == 'update') +if ( (isset($_POST["action"]) && $_POST["action"] == 'update' && empty($_POST["cancel"])) || (isset($_POST["action"]) && $_POST["action"] == 'updateedit') ) { require_once(DOL_DOCUMENT_ROOT."/lib/files.lib.php"); @@ -301,6 +301,7 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') print ''; print ''."\n"; + // Barcode if ($conf->barcode->enabled) { $var=!$var; @@ -309,9 +310,10 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') print ''; } + // Logo $var=!$var; print '
';
+ print '
|