[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.custom_fields.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.custom_fields.inc.php |
Date: |
Sun, 19 Nov 2006 20:47:27 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Changes by: Sigurd Nes <sigurdne> 06/11/19 20:47:27
Modified files:
inc : class.custom_fields.inc.php
Log message:
small fix for mulitple choice
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.custom_fields.inc.php?cvsroot=phpgwapi&r1=1.13&r2=1.14
Patches:
Index: class.custom_fields.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.custom_fields.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- class.custom_fields.inc.php 19 Nov 2006 19:04:33 -0000 1.13
+++ class.custom_fields.inc.php 19 Nov 2006 20:47:27 -0000 1.14
@@ -8,7 +8,7 @@
* @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package phpgwapi
- * @version $Id: class.custom_fields.inc.php,v 1.13 2006/11/19 19:04:33
sigurdne Exp $
+ * @version $Id: class.custom_fields.inc.php,v 1.14 2006/11/19 20:47:27
sigurdne Exp $
*/
/**
@@ -683,6 +683,7 @@
$this->db->query($sql .
$ordermethod,__LINE__,__FILE__);
}
+ $custom_function = '';
while ($this->db->next_record())
{
$custom_function[] = array
@@ -1157,7 +1158,7 @@
if($values['attributes'][$i]['datatype']=='R'
|| $values['attributes'][$i]['datatype']=='CH' ||
$values['attributes'][$i]['datatype']=='LB')
{
- $values['attributes'][$i]['choice']
= $this->so->read_attrib_choice($appname,
$location,$values['attributes'][$i]['attrib_id']);
+ $values['attributes'][$i]['choice']
= $this->read_attrib_choice($appname,
$location,$values['attributes'][$i]['id']);
$input_type=$input_type_array[$values['attributes'][$i]['datatype']];
if($values['attributes'][$i]['datatype']=='CH')