diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php
index c08be97cac4..58ad856a62b 100644
--- a/htdocs/core/lib/company.lib.php
+++ b/htdocs/core/lib/company.lib.php
@@ -523,16 +523,16 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
global $bc;
$form= new Form($db);
-
+
$sortfield = GETPOST("sortfield",'alpha');
$sortorder = GETPOST("sortorder",'alpha');
$search_status = GETPOST("search_status",'int');
if ($search_status=='') $search_status=1; // always display activ customer first
$search_name = GETPOST("search_name",'alpha');
-
+
if (! $sortorder) $sortorder="ASC";
if (! $sortfield) $sortfield="p.lastname";
-
+
$i=-1;
$contactstatic = new Contact($db);
@@ -556,18 +556,17 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
$title = (! empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT) ? $langs->trans("ContactsForCompany") : $langs->trans("ContactsAddressesForCompany"));
print_fiche_titre($title,$buttoncreate,'');
- print "\n".'
'."\n";
-
-
- $param="socid=".$object->id;
- if ($search_status != '') $param.='&search_status='.$search_status;
- if ($search_name != '') $param.='&search_name='.urlencode($search_name);
-
print ''."\n";
+
print "
\n";
?>
diff --git a/htdocs/product/composition/fiche.php b/htdocs/product/composition/fiche.php
index f770e48b715..7b35aa158c6 100644
--- a/htdocs/product/composition/fiche.php
+++ b/htdocs/product/composition/fiche.php
@@ -375,7 +375,7 @@ if ($id > 0 || ! empty($ref))
print '
';
print '| '.$langs->trans("TotalBuyingPriceMin").': ';
if ($atleastonenotdefined) print $langs->trans("Unknown").' ('.$langs->trans("SomeSubProductHaveNoPrices").')';
- print ' | ';
+ print '';
print ''.($atleastonenotdefined?'':price($total,'','',0,0,-1,$conf->currency)).' | ';
if (! empty($conf->stock->enabled)) print ' | ';
print '
';
@@ -436,7 +436,7 @@ if ($id > 0 || ! empty($ref))
if (! empty($conf->categorie->enabled))
{
print '| '.$langs->trans("CategoryFilter").' | ';
- print ''.$form->select_all_categories(0, $parent).' |
';
+ print ''.$form->select_all_categories(0, $parent).' | ';
}
print '
';
print '';
diff --git a/htdocs/public/test/test_arrays.php b/htdocs/public/test/test_arrays.php
index fb8274e5524..4a4e7bc6f74 100644
--- a/htdocs/public/test/test_arrays.php
+++ b/htdocs/public/test/test_arrays.php
@@ -4,7 +4,7 @@ define("NOCSRFCHECK",1); // We accept to go on this page from external web site.
require '../../main.inc.php';
-if (empty($conf->global->MAIN_FEATURES_LEVEL))
+if (!empty($conf->global->MAIN_FEATURES_LEVEL))
{
print "Page available onto dev environment only";
exit;
diff --git a/htdocs/societe/consumption.php b/htdocs/societe/consumption.php
index 16d2c4fea7d..20110c63315 100644
--- a/htdocs/societe/consumption.php
+++ b/htdocs/societe/consumption.php
@@ -1,6 +1,6 @@
- * Copyright (C) 2004-2012 Laurent Destailleur
+ * Copyright (C) 2004-2013 Laurent Destailleur
*
* Version V1.1 Initial version of Philippe Berthet
* Version V2 Change to be compatible with 3.4 and enhanced to be more generic
@@ -102,10 +102,6 @@ if (empty($socid))
$head = societe_prepare_head($object);
dol_fiche_head($head, 'consumption', $langs->trans("ThirdParty"),0,'company');
-print '