That line does a boolean comparison on an object that may not exist. Either there needs to be a
else {
$file = NULL;
}before *or* it should say if (isset($file)) {
That line does a boolean comparison on an object that may not exist. Either there needs to be a
else {
$file = NULL;
}before *or* it should say if (isset($file)) {
Comments
Comment #1
jrglasgow commentedok, this change had been mode and committed, look for it in the next release
Comment #2
eMPee584 commentedlol now that again is overkill because in these assignments $file is not the result of a function that can fail with return value of NULL or so.. also, both expressions (isset() && boolean cmparison) can be collapsed to empty().. ;)
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.