From 2fccf6c82b806a9be98396c519e094cc87a4e71b Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 1 Jun 2003 15:54:23 +0000 Subject: [PATCH] Uh, forgot to run php -l on this one --- cal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cal.php b/cal.php index 977c0e4fc..723ac9e32 100644 --- a/cal.php +++ b/cal.php @@ -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