Ticket #526 (closed Bug: fixed)

Opened 8 months ago

Last modified 7 months ago

media::script() does not have an index argument

Reported by: joeyb Owned by: armen
Priority: minor Milestone: 2.1.2
Component: Modules:Media Version: SVN HEAD
Keywords: Cc:

Description

The media::script() function does not have an $index argument (media::stylesheet() does). The two functions should be consistent. I have attached a patch to fix this issue.

Attachments

media.helper.diff (0.6 kB) - added by joeyb 8 months ago.

Change History

Changed 8 months ago by joeyb

Changed 8 months ago by armen

  • owner changed from gregmac to armen

Changed 8 months ago by armen

Applied in r2474 except that default value of $index is set to False

Changed 7 months ago by armen

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.