Index: trunk/extensions/SemanticForms/includes/SF_PageSchemas.php |
— | — | @@ -142,8 +142,8 @@ |
143 | 143 | foreach ( $key_values_array as $i => $value ) { |
144 | 144 | // replace beep back with comma, trim |
145 | 145 | $value = str_replace( "\a", $listSeparator, trim( $value ) ); |
146 | | - $param_value = explode( "=", $value ); |
147 | | - if ( $param_value[1] != null ) { |
| 146 | + $param_value = explode( "=", $value, 2 ); |
| 147 | + if ( count( $param_value ) == 2 && $param_value[1] != null ) { |
148 | 148 | // Handles <Parameter name="size">20</Parameter> |
149 | 149 | $xml .= '<Parameter name="'.$param_value[0].'">'.$param_value[1].'</Parameter>'; |
150 | 150 | } else { |