From 8075fa647a8b7a96090ab3cd04e8f8a12d180104 Mon Sep 17 00:00:00 2001 From: Mike Little Date: Fri, 23 May 2003 23:38:26 +0000 Subject: [PATCH] Typo in var name git-svn-id: https://develop.svn.wordpress.org/trunk@74 602fd350-edb4-49c9-b593-d223f7449a82 --- b2calendar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/b2calendar.php b/b2calendar.php index 1567ceabd4..a252872a0a 100644 --- a/b2calendar.php +++ b/b2calendar.php @@ -38,7 +38,7 @@ $calendarrowend = ''; $calendarheaderdisplay = 1; // set this to 0 if you don't want to display the "Mon Tue Wed..." header $calendarheadercellstart = ''; // please leave $abbr there ! $calendarheadercellend = ''; -$calendarheaderabbrlenght = 3; // lenght of the shortened weekday +$calendarheaderabbrlength = 1; // length of the shortened weekday $calendarcellstart = ''; $calendarcellend = ''; @@ -188,7 +188,7 @@ if ($calendarheaderdisplay) { for ($i = $start_of_week; $i<($start_of_week+7); $i = $i + 1) { echo str_replace('$abbr', $weekday[($i % 7)], $calendarheadercellstart); - echo ucwords(substr($weekday[($i % 7)], 0, $calendarheaderabbrlenght)); + echo ucwords(substr($weekday[($i % 7)], 0, $calendarheaderabbrlength)); echo $calendarheadercellend; }