After update I get
Parse error: syntax error, unexpected ')' in /var/www/www.domain.com/htdocs/sites/all/modules/nodewords/nodewords_admin/nodewords_admin.admin.inc on line 162
There is a ")" too many, the code
$form['metatags_creation']['nodewords_enable_tokens'] = array(
'#type' => 'checkbox',
'#title' => t('Enable tokens'),
'#description' => t(
'This setting allows to use the tokens implemented in <a href="@token">token.module</a> in meta tags content.',
array('@token' => 'http://drupal.org/project/token'),
),
'#default_value' => variable_get('nodewords_enable_tokens', TRUE),
);
is broken.
Comments
Comment #1
vikingew commentedactually, it appears it's the comman at end of line 161 that is the real error.
Comment #2
zuzu83 commentedHi,
dev version causes a crash site
the error code in "nodewords_admin.admin.inc,v 1.1.2.6"
solution:
I think the correct code is
Comment #3
Anonymous (not verified) commentedI simply removed the comma at the end of line 161, as suggested by yettyn.
Thanks both for the report.
Comment #4
danny englanderSame issue here, fixed by removing the comma.