Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.1, 4.0.4, 4.1.1
-
None
Description
Hello,
I think there is a mistake in the following code in the \kernel\classes\datatypes\ezinisetting\ezinisettingtype.php file
function fromString( $contentObjectAttribute, $string ) { if ( $string == '' ) return true; $iniData = explode( '|', $string ); $contentObjectAttribute->setAttribute( 'data_text', $value ); if ( isset ( $iniData[1] ) ) $contentObjectAttribute->setAttribute( 'data_int', $makeEmptyArray ); return true; }
it shouldn't be $value but $iniData[0], should it?
-G