Qual: Spelling htdocs/core (#27491)

Highlights:
- initialY in pdf_standard.modules.php was unused
  - remove (otherwise -> initially) (+same in other file)
This commit is contained in:
MDW
2024-01-13 19:48:20 +01:00
committed by GitHub
parent 77432efdee
commit 89004f7e03
323 changed files with 1154 additions and 1152 deletions

View File

@@ -250,8 +250,8 @@ function getDoliDBInstance($type, $host, $user, $pass, $name, $port)
require_once DOL_DOCUMENT_ROOT."/core/db/".$type.'.class.php';
$class = 'DoliDB'.ucfirst($type);
$DoliDB = new $class($type, $host, $user, $pass, $name, $port);
return $DoliDB;
$db = new $class($type, $host, $user, $pass, $name, $port);
return $db;
}
/**
@@ -12934,7 +12934,7 @@ function show_actions_messaging($conf, $langs, $db, $filterobj, $objcon = '', $n
$result = $contactaction->fetchResources();
if ($result < 0) {
dol_print_error($db);
setEventMessage("actions.lib::show_actions_messaging Error fetch ressource", 'errors');
setEventMessage("actions.lib::show_actions_messaging Error fetch resource", 'errors');
}
//if ($donetodo == 'todo') $sql.= " AND ((a.percent >= 0 AND a.percent < 100) OR (a.percent = -1 AND a.datep > '".$db->idate($now)."'))";