Was testing a view with a boolean value in a list view and noticed that the toggle only worked from "true" to "false" and not from "false" to "true" and it seemed that was probably a bug
In looking through the code, I see the embedLink function in html.php (line 352) has the following test before adding a link to the html
if ((isset($this->href) || isset($this->target) || isset($this->task)) && (isset($this->dataValue)) && (!empty($this->dataValue)))
It seems that the last check for an empty data value is at fault here because a boolean "false" is stored as a zero in the database and it always fails the test (the PHP
empty function returns true for a 0 value)
Not sure the entire intent here but the check using the
isset function tests for null value and that might be sufficient?
Dave
SORRY ... wrong forum (please move)