From 9fba294727fb0f433d62752885becac2a0b01d7e Mon Sep 17 00:00:00 2001 From: mikelittle Date: Fri, 23 May 2003 23:38:26 +0000 Subject: [PATCH] Typo in var name git-svn-id: http://svn.automattic.com/wordpress/trunk@74 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- b2calendar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/b2calendar.php b/b2calendar.php index 1567ceabd..a252872a0 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; }