[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [8438] property: fix test on values : request
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [8438] property: fix test on values : request |
Date: |
Tue, 27 Dec 2011 09:06:27 +0000 |
Revision: 8438
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8438
Author: sigurdne
Date: 2011-12-27 09:06:26 +0000 (Tue, 27 Dec 2011)
Log Message:
-----------
property: fix test on values : request
Modified Paths:
--------------
trunk/property/inc/class.uirequest.inc.php
trunk/property/setup/phpgw_no.lang
Modified: trunk/property/inc/class.uirequest.inc.php
===================================================================
--- trunk/property/inc/class.uirequest.inc.php 2011-12-26 19:11:48 UTC (rev
8437)
+++ trunk/property/inc/class.uirequest.inc.php 2011-12-27 09:06:26 UTC (rev
8438)
@@ -1094,7 +1094,10 @@
}
}
-
if(!isset($values['condition'][0]['condition_type']) ||
!$values['condition'][0]['degree'])
+ $_condition = array_keys($values['condition']);
+ $__condition = isset($_condition[0]) &&
$_condition[0] ? $_condition[0] : 0;
+
+
if(!isset($values['condition'][$__condition]['condition_type']) ||
!isset($values['condition'][$__condition]['degree']))
{
$receipt['error'][]=array('msg'=>lang('Please select a condition!'));
}
Modified: trunk/property/setup/phpgw_no.lang
===================================================================
--- trunk/property/setup/phpgw_no.lang 2011-12-26 19:11:48 UTC (rev 8437)
+++ trunk/property/setup/phpgw_no.lang 2011-12-27 09:06:26 UTC (rev 8438)
@@ -1896,6 +1896,7 @@
delivered date property no Utført dato
closed date property no Avsluttet dato
cost categories property no Kostnadskategori
+negative value for budget property no Negativ verdi for
kostnadsestimat
no symptoms property no Ingen Symptomer
minor symptoms property no Svake Symptomer
medium symptoms property no Middels Symptomer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [8438] property: fix test on values : request,
Sigurd Nes <=