missing desc.csv
Bug #440991 reported by
Marius Scurtescu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UD Countdown |
Fix Released
|
Medium
|
Michael Lustfield |
Bug Description
The udcountdown_
1. The return value of fopen is not checked for FALSE, as a result if the file cannot be open the whole script crashes pretty nasty with a memory error. The while loop should be entered only if $handle is not FALSE.
Here is the fixed code:
$handle = fopen(file_
if ($handle !== FALSE) {
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
$opt = t('Option ' . $data[0] . ' - ' . $data[1]);
$opts[] = $opt;
}
}
2. There is no data/desc.csv.
Related branches
To post a comment you must log in.
Thanks for informing me of this. I don't have a system to handle this available however I will fix this early this week.
I think this is a fragment from a recent change. Thanks again.