diff --git a/wire/modules/Fieldtype/FieldtypeFile/config.php b/wire/modules/Fieldtype/FieldtypeFile/config.php index edf2aaf1..c2e0dc60 100644 --- a/wire/modules/Fieldtype/FieldtypeFile/config.php +++ b/wire/modules/Fieldtype/FieldtypeFile/config.php @@ -195,7 +195,7 @@ class FieldtypeFileConfiguration extends Wire { $example = array( '// ' . $this->_('Display all files with tag “sidebar”'), 'foreach($page->images as $file) {', - ' if($file->hasTag("sidebar") {', + ' if($file->hasTag("sidebar")) {', ' echo "url\' alt=\'$file->description\'>";', ' }', '}',