[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [8201] property: modify id_generator to plan ahead an
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [8201] property: modify id_generator to plan ahead and to keep the history |
Date: |
Sun, 27 Nov 2011 08:45:14 +0000 |
Revision: 8201
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8201
Author: sigurdne
Date: 2011-11-27 08:45:13 +0000 (Sun, 27 Nov 2011)
Log Message:
-----------
property: modify id_generator to plan ahead and to keep the history
Modified Paths:
--------------
trunk/property/inc/class.soadmin.inc.php
Modified: trunk/property/inc/class.soadmin.inc.php
===================================================================
--- trunk/property/inc/class.soadmin.inc.php 2011-11-26 21:21:36 UTC (rev
8200)
+++ trunk/property/inc/class.soadmin.inc.php 2011-11-27 08:45:13 UTC (rev
8201)
@@ -108,9 +108,9 @@
{
$start_date =
phpgwapi_datetime::date_to_timestamp($values['start_date'][$field]);
- if($start_date < time())
+ if($start_date && $start_date < time())
{
- $receipt['error'][] = array('msg' =>
lang('Cannot alter historical values for %1', $field));
+ $receipt['error'][] = array('msg' =>
lang('Cannot go back in time for "%1"', $field));
continue;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [8201] property: modify id_generator to plan ahead and to keep the history,
Sigurd Nes <=