diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.evalfield.js b/typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.evalfield.js
index 51f969a83477d8b41667188283dbb747a1c73a97..21b1bdce6e92c9e61053d9215cb32409808c72d2 100644
--- a/typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.evalfield.js
+++ b/typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.evalfield.js
@@ -62,7 +62,7 @@ function evalFunc_evalObjValue(FObj,value) {
 	var theEvalType = (FObj.evallist) ? this.split(evallist, ",", index) : false;
 	var newValue=value;
 	while (theEvalType) {
-		if (typeof TBE_EDITOR == 'function' && TBE_EDITOR.customEvalFunctions[theEvalType] && typeof TBE_EDITOR.customEvalFunctions[theEvalType] == 'function') {
+		if (typeof TBE_EDITOR == 'object' && TBE_EDITOR.customEvalFunctions[theEvalType] && typeof TBE_EDITOR.customEvalFunctions[theEvalType] == 'function') {
 			newValue = TBE_EDITOR.customEvalFunctions[theEvalType](newValue);
 		} else {
 			newValue = evalFunc.input(theEvalType, newValue);