Update datapolicycron.class.php

This commit is contained in:
Frédéric FRANCE 2020-05-20 20:13:42 +02:00 committed by GitHub
parent 954d928467
commit 16cc946608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
<?php
/* Copyright (C) 2018 Nicolas ZABOURI <info@inovea-conseil.com>
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2018-2020 Frédéric France <frederic.france@netlogic.fr>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -482,7 +482,7 @@ class DataPolicyCron
while ($i < $num && !$error)
{
$obj = $db->fetch_object($resql);
$obj = $this->db->fetch_object($resql);
$object->fetch($obj->rowid);
$object->id = $obj->rowid;