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

reikiman - December 16, 2007 - 18:45

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

jmai - December 16, 2007 - 20:42

This code should really be just:

drupal_add_css($stylesheet);

The other issue #200706 was created from this original fix above.

#3

tcblack - January 8, 2008 - 21:55
Assigned to:Anonymous» tcblack

Uploading a proper patch per patch instructions.

AttachmentSize
quicktags.module.patch 611 bytes

#4

tcblack - January 8, 2008 - 22:05
Status:needs review» reviewed & tested by the community

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

tcblack - February 12, 2008 - 21:04

This is fixed in 5.3

#6

tcblack - February 12, 2008 - 21:05
Status:reviewed & tested by the community» fixed

#7

Anonymous (not verified) - February 26, 2008 - 21:11
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.