Changeset 574 for trunk/lib/JS.inc.php


Ignore:
Timestamp:
Feb 27, 2017 2:14:51 PM (7 years ago)
Author:
anonymous
Message:

Minor update to string formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/JS.inc.php

    r555 r574  
    145145        }
    146146
    147         header('Content-Type: application/javascript; charset=' . $this->getParam('character_set'));
     147        header(sprintf('Content-Type: application/javascript; charset=%s', $this->getParam('character_set')));
    148148        header(sprintf('Last-Modified: %s GMT', gmdate('D, d M Y H:i:s', $latest_mtime), null));
    149149        if ($this->getParam('cache_enable')) {
Note: See TracChangeset for help on using the changeset viewer.