SQL
$date = clense_ISO8601($date);
+ my ($begin, $end) = ($date,$date);
my $sth = actor::org_unit::closed_date->db_Main->prepare( $sql );
$sth->execute($date, $ou);
- my ($begin, $end);
while (my $closure = $sth->fetchrow_hashref) {
- $begin ||= clense_ISO8601($closure->{close_start});
+ $begin = clense_ISO8601($closure->{close_start});
$end = clense_ISO8601($closure->{close_end});
if ( $direction <= 0 ) {
}
- $begin ||= $date;
- $end ||= $date;
+ #$begin ||= $date;
+ #$end ||= $date;
if ( !$no_hoo ) {