Index: /FCKpackager/trunk/_source/includes/fckfunctionprocessor.inc
===================================================================
--- /FCKpackager/trunk/_source/includes/fckfunctionprocessor.inc	(revision 2332)
+++ /FCKpackager/trunk/_source/includes/fckfunctionprocessor.inc	(revision 2333)
@@ -93,5 +93,11 @@
 		{
 			if ( strlen( $var) > 1 )
-				$source = preg_replace( '/(?<!\w|\d|\.)' . preg_quote( $var ) . '(?!\w|\d|(?:\s*:))/', $this->_GetVarName(), $source ) ;
+			{
+				$varName = $this->_GetVarName();
+				$source = preg_replace( '/(?<!\w|\d|\.)' . preg_quote( $var ) . '(?!\w|\d|:)/', $varName, $source ) ;
+
+				// The above regex exclude names placed before ":", but it is not true for ternary operators.
+				$source = preg_replace( '/(?<=\?)' . preg_quote( $var ) . '(?=:)/', $varName, $source ) ;
+			}
 		}
 
