';
if ($action == 'edit' && ($rowid == (! empty($obj->rowid)?$obj->rowid:$obj->code)))
{
$tmpaction='edit';
@@ -697,7 +696,7 @@
// Show value for field
if ($showfield) {
- print '
'; // To create an artificial CR for the current tr we are on
+ print '
'; // To create an artificial CR for the current tr we are on
$okforextended = true;
if (empty($conf->global->FCKEDITOR_ENABLE_MAIL))
$okforextended = false;
@@ -789,7 +788,7 @@
// Show value for field
if ($showfield) {
- print '
'; // To create an artificial CR for the current tr we are on
+ print '
'; // To create an artificial CR for the current tr we are on
$okforextended = true;
if (empty($conf->global->FCKEDITOR_ENABLE_MAIL))
$okforextended = false;
diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php
index 4eb82e6183c45..c47586b2b2aa2 100644
--- a/htdocs/admin/modules.php
+++ b/htdocs/admin/modules.php
@@ -428,8 +428,6 @@
print " \n";
-$var=true;
-
if ($mode == 'common')
{
@@ -782,7 +780,7 @@
print '
';
// Param
$label = $langs->trans($key);
diff --git a/htdocs/admin/supplier_invoice.php b/htdocs/admin/supplier_invoice.php
index 19f0e6fc8e2a4..dd8210611e97a 100644
--- a/htdocs/admin/supplier_invoice.php
+++ b/htdocs/admin/supplier_invoice.php
@@ -5,7 +5,7 @@
* Copyright (C) 2004 Sebastien Di Cintio
* Copyright (C) 2004 Benoit Mortier
* Copyright (C) 2010-2013 Juanjo Menent
- * Copyright (C) 2011-2015 Philippe Grand
+ * Copyright (C) 2011-2017 Philippe Grand
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -361,7 +361,6 @@
if (is_dir($dir))
{
- $var=true;
$handle=opendir($dir);
@@ -379,7 +378,7 @@
$module = new $classname($db, new FactureFournisseur($db));
- print "
\n";
diff --git a/htdocs/admin/supplier_order.php b/htdocs/admin/supplier_order.php
index a30e7de2654af..a170f7ccd37ef 100644
--- a/htdocs/admin/supplier_order.php
+++ b/htdocs/admin/supplier_order.php
@@ -5,7 +5,7 @@
* Copyright (C) 2004 Sebastien Di Cintio
* Copyright (C) 2004 Benoit Mortier
* Copyright (C) 2010-2013 Juanjo Menent
- * Copyright (C) 2011-2015 Philippe Grand
+ * Copyright (C) 2011-2017 Philippe Grand
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -382,7 +382,6 @@
clearstatcache();
-$var=true;
foreach ($dirmodels as $reldir)
{
$dir = dol_buildpath($reldir."core/modules/supplier_order/pdf/");
@@ -403,7 +402,7 @@
$module = new $classname($db, new CommandeFournisseur($db));
- print "