Fix parameter to cal cron method
This commit is contained in:
parent
bf591f5f91
commit
3aaf9dae11
@ -1121,8 +1121,9 @@ if (empty($reshook))
|
|||||||
0, // remise_percent
|
0, // remise_percent
|
||||||
0, // date_start
|
0, // date_start
|
||||||
0, // date_end
|
0, // date_end
|
||||||
0, $lines[$i]->info_bits, // info_bits
|
0,
|
||||||
0, // info_bits
|
$lines[$i]->info_bits, // info_bits
|
||||||
|
0,
|
||||||
'HT',
|
'HT',
|
||||||
0,
|
0,
|
||||||
0, // product_type
|
0, // product_type
|
||||||
|
|||||||
@ -959,7 +959,7 @@ class Cronjob extends CommonObject
|
|||||||
// Create Object for the call module
|
// Create Object for the call module
|
||||||
$object = new $this->objectname($this->db);
|
$object = new $this->objectname($this->db);
|
||||||
|
|
||||||
$params_arr = explode(", ",$this->params);
|
$params_arr = array_map('trim', explode(",",$this->params));
|
||||||
if (!is_array($params_arr))
|
if (!is_array($params_arr))
|
||||||
{
|
{
|
||||||
$result = call_user_func(array($object, $this->methodename), $this->params);
|
$result = call_user_func(array($object, $this->methodename), $this->params);
|
||||||
|
|||||||
@ -632,6 +632,8 @@ div.myavailability {
|
|||||||
.div-table-responsive, .div-table-responsive-no-min {
|
.div-table-responsive, .div-table-responsive-no-min {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
min-height: 0.01%;
|
min-height: 0.01%;
|
||||||
|
}
|
||||||
|
.div-table-responsive {
|
||||||
line-height: 100%;
|
line-height: 100%;
|
||||||
}
|
}
|
||||||
/* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
|
/* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
|
||||||
|
|||||||
@ -609,6 +609,8 @@ div.myavailability {
|
|||||||
.div-table-responsive, .div-table-responsive-no-min {
|
.div-table-responsive, .div-table-responsive-no-min {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
min-height: 0.01%;
|
min-height: 0.01%;
|
||||||
|
}
|
||||||
|
.div-table-responsive {
|
||||||
line-height: 100%;
|
line-height: 100%;
|
||||||
}
|
}
|
||||||
/* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
|
/* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user