fixed typo: [ 1482190 ] Short events before workday not displayed

This commit is contained in:
Ralf Becker 2006-05-14 16:50:20 +00:00
parent a4e33c20c1
commit 046856a4dc

View File

@ -55,7 +55,7 @@ class uiviews extends uical
/** /**
* @var int $rowHeight height in percent of one row, gets set be the timeGridWidget * @var int $rowHeight height in percent of one row, gets set be the timeGridWidget
*/ */
var $rowHeigth; var $rowHeight;
/** /**
* @var array $search_params standard params for calling bocal::search for all views, set by the constructor * @var array $search_params standard params for calling bocal::search for all views, set by the constructor
@ -568,7 +568,7 @@ class uiviews extends uical
*/ */
function times2height($start,$end,$minimum=0) function times2height($start,$end,$minimum=0)
{ {
$minimum = $this->rowHeigth; $minimum = $this->rowHeight;
$height = $this->time2pos($end) - $this->time2pos($start); $height = $this->time2pos($end) - $this->time2pos($start);
if ($this->debug > 3) $this->bo->debug_message('uiviews::times2height(%1,%2,min=%3)=%4',False,$start,$end,$minimum,$height); if ($this->debug > 3) $this->bo->debug_message('uiviews::times2height(%1,%2,min=%3)=%4',False,$start,$end,$minimum,$height);