1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Uh, forgot to run php -l on this one

This commit is contained in:
Rasmus Lerdorf
2003-06-01 15:54:23 +00:00
parent ddc3732b3b
commit 2fccf6c82b

View File

@@ -327,14 +327,14 @@ function read_event($fp)
// Corrupt line in CSV file
if (count($linearr) < 12) { return FALSE; }
if(count($linearr==12) {
if(count($linearr==12)) {
// Put the array elements into variables
list(
$day, $month, $year, $country,
$sdesc, $id, $ldesc, $url, $recur, $tipo, $sdato, $edato
) = $linearr;
$category = 0;
} elseif(count($linearr==13) {
} elseif(count($linearr==13)) {
list(
$day, $month, $year, $country,
$sdesc, $id, $ldesc, $url, $recur, $tipo, $sdato, $edato, $category