Ticket #7817: weather.diff

File weather.diff, 731 bytes (added by knight@…, 10 years ago)
  • mythplugins/mythweb/modules/weather/classes/WeatherScreen.php

     
    268268
    269269    // Generate args and run the script
    270270        $units = $this->units == 0 ? 'SI' : 'ENG';
    271         $output_array = $this->runScript($script, '-u '. $units .' -d '. getcwd() .'/'. data ." $location");
     271        $output_array = $this->runScript($script, '-u '. $units .' -d '. getcwd() .'/'. data ." \"$location\"");
    272272
    273273    // Query db data items
    274274        $sh = $db->query('SELECT weatherdatalayout.dataitem