Closed (fixed)
Project:
Site Notes
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
4 Aug 2007 at 13:54 UTC
Updated:
11 Aug 2007 at 13:34 UTC
Trying to activate the latest dev version I get a
Parse error: syntax error, unexpected T_STRING in /var/www/drupal5/sites/all/modules/sitenotes/sitenotes.install on line 36
The offending line is in uninstall where
// Remove all Site Note blocks.
db_query('DELETE FROM {blocks} WHERE module='sitenotes');
need to be
// Remove all Site Note blocks.
db_query('DELETE FROM {blocks} WHERE module="sitenotes"');
not sure why none has reported this before, but it might have to do with php or mysql version/configuration detecting this although the function isn't called (afaik) during install.
Comments
Comment #1
nancydruA fix has been committed.
Comment #2
nancydru