aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-02 18:31:16 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-02 18:31:16 +0000
commite4b668a35eb076a23c5878f5a43c053b4c7e2e60 (patch)
tree266ad2afd637ba5325d61dfb99af3f6b76750726
parentf44e73275e6e15ee58420d8de98561654f1692b4 (diff)
downloadelgg-e4b668a35eb076a23c5878f5a43c053b4c7e2e60.tar.gz
elgg-e4b668a35eb076a23c5878f5a43c053b4c7e2e60.tar.bz2
Refs #2878 fixes detect_extender_valuetype() in trunk
git-svn-id: http://code.elgg.org/elgg/trunk@8913 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/extender.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php
index 53aa99bda..a017c9eec 100644
--- a/engine/lib/extender.php
+++ b/engine/lib/extender.php
@@ -19,7 +19,7 @@
* @return string
*/
function detect_extender_valuetype($value, $value_type = "") {
- if ($value_type != "") {
+ if ($value_type != "" && ($value_type == 'integer' || $value_type == 'text')) {
return $value_type;
}