mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
![]() We were previously testing tha the parent is valid, which it was, and then fetching the current record, before fetching data from it. However, the way in which the recordset walk works, the valid function checks whether the _record_ itself is valid, whilst the current allows for a callback to be applied. In this instance, the data-entry was failing because the count of indexfields was < 2. The recordset data itself was valid, but the view was not, and as a result, the current() function returned false. This false was not previously handled. I've changed the logic so that we handle this case, and have removed a double-negative in the process. |
||
---|---|---|
.. | ||
output | ||
base.php | ||
base_activity.php | ||
base_block.php | ||
base_mod.php | ||
document.php | ||
document_factory.php | ||
engine.php | ||
engine_exception.php | ||
manager.php | ||
skip_future_documents_iterator.php |