[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9019] property: testing
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9019] property: testing |
Date: |
Wed, 21 Mar 2012 15:09:11 +0000 |
Revision: 9019
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9019
Author: sigurdne
Date: 2012-03-21 15:09:11 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
property: testing
Modified Paths:
--------------
trunk/property/inc/class.custom_fields.inc.php
trunk/property/inc/class.soproject.inc.php
Modified: trunk/property/inc/class.custom_fields.inc.php
===================================================================
--- trunk/property/inc/class.custom_fields.inc.php 2012-03-21 15:04:04 UTC
(rev 9018)
+++ trunk/property/inc/class.custom_fields.inc.php 2012-03-21 15:09:11 UTC
(rev 9019)
@@ -509,7 +509,14 @@
$ret[$j][$field] = lang('yes');
break;
default:
-
$ret[$j][$field] = stripslashes($data['value']);
+
if(is_array($data['value']))
+ {
+
$ret[$j][$field] = $data['value'];
+ }
+ else
+ {
+
$ret[$j][$field] = stripslashes($data['value']);
+ }
}
}
Modified: trunk/property/inc/class.soproject.inc.php
===================================================================
--- trunk/property/inc/class.soproject.inc.php 2012-03-21 15:04:04 UTC (rev
9018)
+++ trunk/property/inc/class.soproject.inc.php 2012-03-21 15:09:11 UTC (rev
9019)
@@ -739,7 +739,7 @@
}
$values = $this->custom->translate_value($dataset,
$location_id);
-_debug_array($values);
+
return $values;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9019] property: testing,
Sigurd Nes <=