Plugin Directory

Changeset 1331354


Ignore:
Timestamp:
01/19/2016 02:48:37 PM (9 years ago)
Author:
proodos
Message:

still adding 2.0 version of plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified pdsweather/trunk/pdsWeather.php

    r1331341 r1331354  
    4343    }
    4444
     45    print_r($current);
     46    if($current){
    4547    $sunset = date_sunset(time(), SUNFUNCS_RET_TIMESTAMP, $current['display_location']['latitude'], $current['display_location']['longitude'], $current['display_location']['elevation'], 1);
    4648    $sunrise = date_sunrise(time(), SUNFUNCS_RET_TIMESTAMP, $current['display_location']['latitude'], $current['display_location']['longitude'], $current['display_location']['elevation'], 1);
     
    105107   
    106108    return $html;
     109    }
    107110   
    108111}
Note: See TracChangeset for help on using the changeset viewer.