Index: trunk/extensions/SemanticForms/includes/SF_TemplateField.php |
— | — | @@ -264,7 +264,7 @@ |
265 | 265 | |
266 | 266 | // Add a row with an inline query to this table, for |
267 | 267 | // aggregation, if a property was specified. |
268 | | - if ( $aggregating_property !== '' ) { |
| 268 | + if ( !is_null( $aggregating_property ) && $aggregating_property !== '' ) { |
269 | 269 | if ( count( $template_fields ) > 0 ) { |
270 | 270 | $tableText .= "|-\n"; |
271 | 271 | } |