Changeset 2542

Show
Ignore:
Timestamp:
04/20/08 17:35:07 (4 months ago)
Author:
JAAulde
Message:

remvoed previous addition of default value of false for param to js() and css() and removed lines which check if param is a string. will look at submitted fix in #525

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/media/controllers/media.php

    r2528 r2542  
    5353    } 
    5454 
    55     public function css($querystr = FALSE) 
    56     { 
    57         if( ! is_string($querystr)) 
    58         { 
    59             $querystr = implode('/', $this->uri->argument_array()); 
    60         } 
    61          
     55    public function css($querystr) 
     56    { 
    6257        // Find all the individual files 
    6358        $files = explode($this->separator, $querystr); 
     
    8984    } 
    9085 
    91     public function js($querystr = FALSE) 
    92     { 
    93         if( ! is_string($querystr)) 
    94         { 
    95             $querystr = implode('/', $this->uri->argument_array()); 
    96         } 
    97          
     86    public function js($querystr) 
     87    {    
    9888        // Find all the individual files 
    9989        $files = explode($this->separator, $querystr);