Skip to content

Commit

Permalink
This is the member we should check for.
Browse files Browse the repository at this point in the history
Worked previously since there were no other requests that would set
one and not the other.
  • Loading branch information
mrubinsk committed Sep 17, 2015
1 parent 429578c commit fe240a6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -235,7 +235,7 @@ protected function _searchLocations($location)
*/
protected function _getCommonElements($location, $length = Horde_Service_Weather::FORECAST_10DAY)
{
if (!empty($this->_current) && $location == $this->_lastLocation
if (!empty($this->_forecast) && $location == $this->_lastLocation
&& $this->_lastLength >= $length) {

if ($this->_lastLength > $length) {
Expand Down

0 comments on commit fe240a6

Please sign in to comment.