2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 05:16:02 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@8460 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-04-21 11:54:18 +00:00
parent af42e0d6e4
commit d2570e4fbf

View File

@ -303,7 +303,7 @@ logProxy_WeekProfile2Plot($$$;$)
next if( SVG_time_to_sec($timestamp) < $fromsec );
# add first value at start of plot range
if( !$ret && $prev_value ) {
if( !$ret && defined($prev_value) ) {
$min = $prev_value if( $prev_value < $min );
$max = $prev_value if( $prev_value > $max );
$ret .= "$from $prev_value\n";