Check whether operands are identical. Otherwise 0 makes the condition true
This commit is contained in:
parent
4d829c9204
commit
8254d3eaf6
@ -186,7 +186,7 @@ $htmlString .= '<div style="float:left; padding-left:40px;">'
|
||||
|
||||
$yaxis = null;
|
||||
foreach ($keys as $idx => $key) {
|
||||
if ($yaxis == null) {
|
||||
if ($yaxis === null) {
|
||||
$htmlString .= '<option value="' . htmlspecialchars($idx)
|
||||
. '" selected="selected">' . htmlspecialchars($key) . '</option>';
|
||||
$yaxis = $idx;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user