Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In advagg_js_compress.module's advagg_js_compress_advagg_files_table function the variable is assigned 'js' rather than tested against 'js'.
Is:
if ($row['filetype'] = 'js' && $checksum != $row['checksum']) {
Should be:
if ($row['filetype'] == 'js' && $checksum != $row['checksum']) {
Comment | File | Size | Author |
---|---|---|---|
#4 | advagg-1674262-4-fix-js-compression-issue.patch | 667 bytes | mikeytown2 |
Comments
Comment #1
soulfroysComment #2
mikeytown2 CreditAttribution: mikeytown2 commentedThis is still an issue in the latest code in the repo. Please don't mark an issue as fixed unless it's actually been fixed in the repo
http://drupalcode.org/project/advagg.git/blob/934e4ac6ab0528082e858fc5e0...
Comment #3
soulfroysMy bad... I forgot that I'm using the stable version.
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedCommitted the fix