From df03041dbade0a4dc740238b89e1e5b9a18c7218 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 12 Nov 2019 09:47:39 +0100 Subject: [PATCH] Fix phpcs --- htdocs/main.inc.php | 2 +- htdocs/mrp/class/mo.class.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 590f78437b4..4bbd4fe471a 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -612,7 +612,7 @@ if (! defined('NOLOGIN')) if (! $login || (in_array('ldap', $authmode) && empty($passwordtotest))) // With LDAP we refused empty password because some LDAP are "opened" for anonymous access so connexion is a success. { // No data to test login, so we show the login page - dol_syslog("--- Access to ".$_SERVER["PHP_SELF"]." - action=".GETPOST('action','aZ09').", showing the login form and exit"); + dol_syslog("--- Access to ".$_SERVER["PHP_SELF"]." - action=".GETPOST('action', 'aZ09').", showing the login form and exit"); if (defined('NOREDIRECTBYMAINTOLOGIN')) return 'ERROR_NOT_LOGGED'; else dol_loginfunction($langs, $conf, (! empty($mysoc)?$mysoc:'')); exit; diff --git a/htdocs/mrp/class/mo.class.php b/htdocs/mrp/class/mo.class.php index c4f0b6d4e83..725427e249f 100644 --- a/htdocs/mrp/class/mo.class.php +++ b/htdocs/mrp/class/mo.class.php @@ -809,7 +809,8 @@ class Mo extends CommonObject } else { - + // If origin BOM line is not a product, but another BOM + // TODO } $this->tpl['qty'] = $line->qty;