Fix phpcs

This commit is contained in:
Laurent Destailleur 2021-04-19 15:30:30 +02:00
parent 634c38e948
commit b5868acf18
2 changed files with 5 additions and 3 deletions

View File

@ -525,10 +525,12 @@ if ($action == 'create') {
}
// Bouton Save payment
/* print '<tr class="hide_if_no_auto_create_payment"><td>';
/*
print '<tr class="hide_if_no_auto_create_payment"><td>';
print $langs->trans("ClosePaidSalaryAutomatically");
print '</td><td><input type="checkbox" checked value="1" name="closepaidsalary"></td></tr>';
*/
*/
// Other attributes
$parameters = array();
$reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook

View File

@ -2256,7 +2256,7 @@ if ($action == 'generatesitemaps' && $usercanedit) {
$domtree = new DOMDocument('1.0', 'UTF-8');
$root = $domtree->createElementNS('http://www.sitemaps.org/schemas/sitemap/0.9', 'urlset');
$root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:xhtml', 'http://www.w3.org/1999/xhtml');
$root->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:xhtml', 'http://www.w3.org/1999/xhtml');
$domtree->formatOutput = true;