| Summary | Dewpoint of 0 degrees not reported |
| Queue | Horde Base |
| Queue Version | Git master |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | mrubinsk (at) horde (dot) org |
| Requester | arjen+horde (at) de-korte (dot) org |
| Created | 12/11/2011 (5080 days ago) |
| Due | |
| Updated | 12/14/2011 (5077 days ago) |
| Assigned | 12/12/2011 (5079 days ago) |
| Resolved | 12/14/2011 (5077 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | Yes |
State ⇒ Resolved
Bug: 10854Fix displaying of dewpoint.Don't display title if it's not present, and fix displaying
when it is zero.
Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
1 files changed, 2 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/a53738cd111aefbea11c3497e524bb4c40de1c7a
State ⇒ Assigned
place (given the 'round'), it is probably sufficient to just use
+ if (is_numeric($current->dewpoint)) {
here.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Dewpoint of 0 degrees not reported
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ Yes
New Attachment: Block_Weather.diff
State ⇒ Unconfirmed
reported. The attached patch fixes this, by checking if
$current->dewpoint is either null (or 0) or a numeric value. It also
fixes a PHP error because $dewpoint is not defined.