Index: trunk/extensions/ExternalData/ED_ParserFunctions.php |
— | — | @@ -76,11 +76,14 @@ |
77 | 77 | // set to all lowercase to avoid casing issues |
78 | 78 | $external_var = strtolower( $external_var ); |
79 | 79 | $filters[$external_var] = $value; |
80 | | - } else { |
| 80 | + } elseif ( strpos( $param, '=' ) ) { |
81 | 81 | list( $local_var, $external_var ) = explode( '=', $param ); |
82 | 82 | // set to all lowercase to avoid casing issues |
83 | 83 | $external_var = strtolower( $external_var ); |
84 | 84 | $mappings[$local_var] = $external_var; |
| 85 | + } else { |
| 86 | + // if the parameter contains no equals signs, |
| 87 | + // do nothing |
85 | 88 | } |
86 | 89 | } |
87 | 90 | foreach ( $filters as $filter_var => $filter_value ) { |