[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [8890] Property: time check
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [8890] Property: time check |
Date: |
Thu, 16 Feb 2012 09:42:19 +0000 |
Revision: 8890
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8890
Author: sigurdne
Date: 2012-02-16 09:42:18 +0000 (Thu, 16 Feb 2012)
Log Message:
-----------
Property: time check
Modified Paths:
--------------
trunk/property/inc/cron/default/Import_fra_basware_X205.php
Modified: trunk/property/inc/cron/default/Import_fra_basware_X205.php
===================================================================
--- trunk/property/inc/cron/default/Import_fra_basware_X205.php 2012-02-16
09:32:48 UTC (rev 8889)
+++ trunk/property/inc/cron/default/Import_fra_basware_X205.php 2012-02-16
09:42:18 UTC (rev 8890)
@@ -214,10 +214,9 @@
}
// max. one mail each day
- if ( (int)
$GLOBALS['phpgw_info']['server']['invoice_mail_reminder_time'] < (time() - (5 *
3600 * 24)) )
+ if ( (int)
$GLOBALS['phpgw_info']['server']['invoice_mail_reminder_time'] < (time() -
(3600 * 24)) )
{
$toarray = array();
- $_toarray = array();
$sql = 'SELECT DISTINCT oppsynsmannid as
responsible FROM fm_ecobilag WHERE oppsynsmannid IS NOT NULL';
$this->db->query($sql,__LINE__,__FILE__);
while($this->db->next_record())
@@ -240,7 +239,7 @@
$subject = 'Du har faktura til behandling';
- foreach ($toarray as $lid => &$email)
+ foreach ($toarray as $lid => $dummy)
{
$prefs =
$this->bocommon->create_preferences('property',
$GLOBALS['phpgw']->accounts->name2id($lid));
if(isset($prefs['email']) &&
$prefs['email'])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [8890] Property: time check,
Sigurd Nes <=