aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/extender.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-10 21:41:48 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-10 21:41:48 +0000
commit962a1febf4c05037df1c1e0925636ea49c00de58 (patch)
treee174b2bfe9346cf022c9234fb9e7e47b128be0e9 /engine/lib/extender.php
parent5d5e94191f17a5b63e809e36fcb298f8687263f2 (diff)
downloadelgg-962a1febf4c05037df1c1e0925636ea49c00de58.tar.gz
elgg-962a1febf4c05037df1c1e0925636ea49c00de58.tar.bz2
Closes #349: We need to improve detect_extender_valuetype
git-svn-id: https://code.elgg.org/elgg/trunk@2072 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/extender.php')
-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 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';
}