Fixing style errors.

This commit is contained in:
stickler-ci 2020-09-14 09:01:11 +00:00
parent 92aab677e9
commit ad84aaacc6
2 changed files with 47 additions and 52 deletions

View File

@ -904,13 +904,11 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action))
$objcanvas->assign_values($action, $object->id, $object->ref); // Set value for templates $objcanvas->assign_values($action, $object->id, $object->ref); // Set value for templates
$objcanvas->display_canvas($action); // Show template $objcanvas->display_canvas($action); // Show template
} else { } else {
// ----------------------------------------- // -----------------------------------------
// When used in standard mode // When used in standard mode
// ----------------------------------------- // -----------------------------------------
if ($action == 'create' && $usercancreate) if ($action == 'create' && $usercancreate)
{ {
//WYSIWYG Editor //WYSIWYG Editor
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
@ -1365,9 +1363,6 @@ print '<script type="text/javascript">';
print '</form>'; print '</form>';
} elseif ($object->id > 0) { } elseif ($object->id > 0) {
/* /*
* Product card * Product card
*/ */