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.
After I have added an external css is thrown this notice:
Notice: Undefined index: extension in sasson_css_alter() (line 35 of /home/jean-louis/www/allacortedelleterme.localdev/public_html/sites/all/themes/sasson/template.php).
Comment | File | Size | Author |
---|---|---|---|
#3 | template.php_.txt | 320 bytes | robertom |
#1 | sasson-external_css_thrown_notice-1431432-01.patch | 788 bytes | robertom |
Comments
Comment #1
robertom CreditAttribution: robertom commentedI would add a proposed patch
Comment #2
konforti CreditAttribution: konforti commentedThanks @robertom.
Although your patch looks good and it's making sense to put those lines in the IF statement, cause we dealing only with files anyway,
I still don't see why you getting this error.
I couldn't reproduce this error in my tests, and I want to be sure we covers all cases.
Can you please provide the CSS path you using and the way you add it to your site?
Thanks.
Comment #3
robertom CreditAttribution: robertom commentedOh yes, sorry if I haven't added my file before... (and sorry for my bad english)
Comment #4
konforti CreditAttribution: konforti commentedCommited
http://drupalcode.org/project/sasson.git/commit/refs/heads/7.x-2.x
Thanks !