undefined function theme_stylesheet_import
jmai - December 6, 2007 - 08:27
| Project: | quicktags |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | tcblack |
| Status: | closed |
Description
In line 124 of quicktags.module :
drupal_set_html_head(theme_stylesheet_import(base_path() . $stylesheet));
That's was for 4.7.x
The code should really be:
drupal_set_html_head(drupal_add_css($stylesheet));

#1
I had the above problem occur.. I made the recommended change .. the error goes away.
Now at the top of the page it prints 'Array Array Array' and I saw there's another issue for that.
#2
This code should really be just:
drupal_add_css($stylesheet);The other issue #200706 was created from this original fix above.
#3
Uploading a proper patch per patch instructions.
#4
after reviewing the other related posts it appears this fix has already been tested and marked effective by a few others. Since it's broken as is I'm applying the patch to dev. If there are no further complaints I'll let someone else move this to fixed after a few days.
#5
This is fixed in 5.3
#6
#7
Automatically closed -- issue fixed for two weeks with no activity.