From e4b668a35eb076a23c5878f5a43c053b4c7e2e60 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 2 Apr 2011 18:31:16 +0000 Subject: Refs #2878 fixes detect_extender_valuetype() in trunk git-svn-id: http://code.elgg.org/elgg/trunk@8913 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/extender.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') 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; } -- cgit v1.2.3