cvs: phpweb / cal.php
| From: | Rasmus Lerdorf | Date: | Sun, 01 Jun 2003 15:54:23 +0000 |
| Subject: | cvs: phpweb / cal.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-18333@lists.php.net to get a copy of this message | ||
rasmus Sun Jun 1 11:54:23 2003 EDT
Modified files:
/phpweb cal.php
Log:
Uh, forgot to run php -l on this one
Index: phpweb/cal.php
diff -u phpweb/cal.php:1.40 phpweb/cal.php:1.41
--- phpweb/cal.php:1.40 Sun Jun 1 11:52:37 2003
+++ phpweb/cal.php Sun Jun 1 11:54:23 2003
@@ -327,14 +327,14 @@
// 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