mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-19 03:34:25 +01:00
Possibile fix #725
This commit is contained in:
parent
48666a966c
commit
5612641702
@ -2,7 +2,7 @@
|
||||
|
||||
include_once __DIR__.'/../../../core.php';
|
||||
|
||||
$rs = $dbo->fetchArray('SELECT * FROM in_interventi WHERE in_interventi.idstatointervento = (SELECT in_statiintervento.idstatointervento FROm in_statiintervento WHERE in_statiintervento.codice=\'WIP\') ORDER BY data_richiesta ASC');
|
||||
$rs = $dbo->fetchArray('SELECT * FROM in_interventi WHERE in_interventi.idstatointervento = (SELECT in_statiintervento.idstatointervento FROM in_statiintervento WHERE in_statiintervento.codice=\'WIP\') ORDER BY data_richiesta ASC');
|
||||
|
||||
if (!empty($rs)) {
|
||||
echo '
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
include_once __DIR__.'/../../../core.php';
|
||||
|
||||
$rs = $dbo->fetchArray('SELECT * FROM in_interventi WHERE in_interventi.idstatointervento = (SELECT in_statiintervento.idstatointervento FROm in_statiintervento WHERE in_statiintervento.codice=\'TODO\') ORDER BY data_richiesta ASC');
|
||||
$rs = $dbo->fetchArray('SELECT * FROM in_interventi WHERE in_interventi.idstatointervento = (SELECT in_statiintervento.idstatointervento FROM in_statiintervento WHERE in_statiintervento.codice=\'TODO\') ORDER BY data_richiesta ASC');
|
||||
|
||||
if (!empty($rs)) {
|
||||
echo '
|
||||
|
@ -12,6 +12,7 @@ $database->query('UPDATE `zz_operations` SET `id_email` = NULL');
|
||||
foreach ($logs as $log) {
|
||||
$user = User::find($log['id_utente']);
|
||||
$template = Template::find($log['id_email']);
|
||||
if (empty($template)) continue;
|
||||
|
||||
$mail = Mail::build($user, $template, $log['id_record']);
|
||||
$mail->resetPrints();
|
||||
|
Loading…
Reference in New Issue
Block a user