﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
134	Problem in fckeditor_php5.php	Frederico Caldeira Knabben	Frederico Caldeira Knabben	"While using fckeditor_php5.php i got the error message invalid value using foreach (or likely, i don't remember 100% the words).

After changing the ++ lines it works fine!

{{{
function GetConfigFieldString()
{
	$sParams = '' ;
	$bFirst = true ;

	++ if (is_array($this->Config))
	++ {
		foreach ( $this->Config as $sKey => $sValue )
		{
			if ( $bFirst == false )
				$sParams .= '&amp;' ;
			else
				$bFirst = false ;

			if ( $sValue === true )
				$sParams .= $this->EncodeConfig( $sKey ) . '=true' ;
			else if ( $sValue === false )
				$sParams .= $this->EncodeConfig( $sKey ) . '=false' ;
			else
				$sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ;
		}
	++ }

	return $sParams ;
}
}}}

----
Moved from SF:[[BR]]
http://sourceforge.net/tracker/index.php?func=detail&aid=1666102&group_id=75348&atid=543653
"	Bug	closed	Normal		Server : PHP	FCKeditor 2.4	worksforme	SF Pending	vogelor@…
