mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'ent-8453-12981-Cálculo-de-SLA-en-módulo-con-dato-tipo-string' into 'develop'
Ent 8453 12981 cálculo de sla en módulo con dato tipo string See merge request artica/pandorafms!4642
This commit is contained in:
commit
bf5e2096f8
@ -3231,9 +3231,10 @@ function modules_get_first_date($id_agent_module, $datelimit=0)
|
|||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
// check datatype string or normal
|
// Check datatype string or normal.
|
||||||
$table = 'tagente_datos';
|
$table = 'tagente_datos';
|
||||||
$module_type_str = modules_get_agentmodule_type($id_agent_module);
|
$module_type = modules_get_agentmodule_type($id_agent_module);
|
||||||
|
$module_type_str = modules_get_type_name($module_type);
|
||||||
if (strstr($module_type_str, 'string') !== false) {
|
if (strstr($module_type_str, 'string') !== false) {
|
||||||
$table = 'tagente_datos_string';
|
$table = 'tagente_datos_string';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user