Fix parameter to cal cron method

This commit is contained in:
Laurent Destailleur 2017-02-27 00:12:48 +01:00
parent bf591f5f91
commit 3aaf9dae11
4 changed files with 8 additions and 3 deletions

View File

@ -1121,8 +1121,9 @@ if (empty($reshook))
0, // remise_percent
0, // date_start
0, // date_end
0, $lines[$i]->info_bits, // info_bits
0, // info_bits
0,
$lines[$i]->info_bits, // info_bits
0,
'HT',
0,
0, // product_type

View File

@ -959,7 +959,7 @@ class Cronjob extends CommonObject
// Create Object for the call module
$object = new $this->objectname($this->db);
$params_arr = explode(", ",$this->params);
$params_arr = array_map('trim', explode(",",$this->params));
if (!is_array($params_arr))
{
$result = call_user_func(array($object, $this->methodename), $this->params);

View File

@ -632,6 +632,8 @@ div.myavailability {
.div-table-responsive, .div-table-responsive-no-min {
overflow-x: auto;
min-height: 0.01%;
}
.div-table-responsive {
line-height: 100%;
}
/* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */

View File

@ -609,6 +609,8 @@ div.myavailability {
.div-table-responsive, .div-table-responsive-no-min {
overflow-x: auto;
min-height: 0.01%;
}
.div-table-responsive {
line-height: 100%;
}
/* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */