MDL-50083 mod_assign: protect code against not set flags
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 20 Jan 2016 01:50:15 +0000 (02:50 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 20 Jan 2016 01:50:15 +0000 (02:50 +0100)
commit5311e22963fc4d0800112b750720ea9d7c6f398c
treed647bc70f61d5b01827b92d9767271898eb87d72
parent0ddbf9b937d9067757cf4fb65704ade707a82449
MDL-50083 mod_assign: protect code against not set flags

Yes could have used !empty() but for some reason found
the isset() && condition more clear. Tired brain, surely.
mod/assign/locallib.php