mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 23:52:24 +01:00
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:
@@ -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)."'))";
|
||||
|
||||
Reference in New Issue
Block a user