Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
Conflicts: htdocs/societe/checkvat/checkVatPopup.php
This commit is contained in:
commit
b150edd6d0
@ -470,15 +470,15 @@ class DataPolicyCron
|
||||
{
|
||||
$sql = sprintf($params['sql'], (int) $conf->entity, (int) $conf->global->$key, (int) $conf->global->$key);
|
||||
|
||||
$resql = $db->query($sql);
|
||||
$resql = $this->db->query($sql);
|
||||
|
||||
if ($resql && $db->num_rows($resql) > 0)
|
||||
if ($resql && $this->db->num_rows($resql) > 0)
|
||||
{
|
||||
$num = $db->num_rows($resql);
|
||||
$num = $this->db->num_rows($resql);
|
||||
$i = 0;
|
||||
|
||||
require_once $params['file'];
|
||||
$object = new $params['class']($db);
|
||||
$object = new $params['class']($this->db);
|
||||
|
||||
while ($i < $num && !$error)
|
||||
{
|
||||
|
||||
@ -34,7 +34,6 @@ $WS_DOL_URL_WSDL = 'https://ec.europa.eu/taxation_customs/vies/checkVatService.w
|
||||
$WS_METHOD = 'checkVat';
|
||||
|
||||
|
||||
|
||||
$conf->dol_hide_topmenu = 1;
|
||||
$conf->dol_hide_leftmenu = 1;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user