aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www/policy
diff options
context:
space:
mode:
authorM.Gergo2021-06-02 14:55:05 +0200
committerM.Gergo2021-06-02 14:55:05 +0200
commitc5e0aa198eaf5a01e89700cd484ca6ea86228811 (patch)
treeb5b3b81f366b5fb23d1715c60bab6fa9727c8a56 /mayor-orig/mayor-naplo/www/policy
parentef8b3fd973fa34b303370d5acc21744e57bca507 (diff)
downloadmayor-rev4788.tar.gz
mayor-rev4788.zip
Rev: 4788rev4788
Diffstat (limited to 'mayor-orig/mayor-naplo/www/policy')
-rw-r--r--mayor-orig/mayor-naplo/www/policy/private/naplo/hirnok/cronFutar-pre.php17
1 files changed, 8 insertions, 9 deletions
diff --git a/mayor-orig/mayor-naplo/www/policy/private/naplo/hirnok/cronFutar-pre.php b/mayor-orig/mayor-naplo/www/policy/private/naplo/hirnok/cronFutar-pre.php
index 227d1216..34ec7024 100644
--- a/mayor-orig/mayor-naplo/www/policy/private/naplo/hirnok/cronFutar-pre.php
+++ b/mayor-orig/mayor-naplo/www/policy/private/naplo/hirnok/cronFutar-pre.php
@@ -17,15 +17,14 @@
$d = $r[$i];
if (defined('_DEVEL') && _DEVEL===true) $d['email'] = 'konczy+test@gmail.com'; // over
$TOLDTBYUSER[$d['naploTipus']][$d['naploId']] = ($d['utolsoEmailDt']=='') ? $_TANEV['kezdesDt'] : $d['utolsoEmailDt']; // setDt
- if (is_array($USER[$d['naploTipus']])) {
- if (!in_array($d['naploId'],$USER[$d['naploTipus']])) $USER[$d['naploTipus']][] = $d['naploId'];
- $ADAT['feliratkozas'][$d['naploTipus']][$d['naploId']][] = array(
- 'userAccount'=>$d['userAccount'],
- 'policy'=>$d['policy'],
- 'email'=>$d['email'],
- 'setDt'=> $refDt
- );
- }
+
+ if (!in_array($d['naploId'],$USER[$d['naploTipus']])) $USER[$d['naploTipus']][] = $d['naploId'];
+ $ADAT['feliratkozas'][$d['naploTipus']][$d['naploId']][] = array(
+ 'userAccount'=>$d['userAccount'],
+ 'policy'=>$d['policy'],
+ 'email'=>$d['email'],
+ 'setDt'=> $refDt
+ );
}
// Megszorítás: egy naplóbeli entitás utolsoEmailDt-je együtt kell, hogy mozogjon ebben a feldolgozási rendszerben.