From 962a1febf4c05037df1c1e0925636ea49c00de58 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 10 Sep 2008 21:41:48 +0000 Subject: Closes #349: We need to improve detect_extender_valuetype git-svn-id: https://code.elgg.org/elgg/trunk@2072 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/extender.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/lib/extender.php b/engine/lib/extender.php index f682053c0..c84f7aef1 100644 --- a/engine/lib/extender.php +++ b/engine/lib/extender.php @@ -245,7 +245,7 @@ // This is crude if (is_int($value)) return 'integer'; - if (is_numeric($value)) return 'integer'; + if (is_numeric($value)) return 'text'; // Catch floating point values which are not integer return 'text'; } -- cgit v1.2.3