aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}