Changeset 1067


Ignore:
Timestamp:
Jun 11, 2007, 4:24:22 AM (14 years ago)
Author:
kake
Message:

Make sure all TT vars are returned if return_tt_vars is passed to OpenGuides->display_node

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides.pm

    r1066 r1067  
    275275        # Don't redirect if the parameter "redirect" is given as 0.
    276276        if ($do_redirect == 0) {
     277            $tt_vars{current} = 1;
    277278            return %tt_vars if $args{return_tt_vars};
    278             $tt_vars{current} = 1;
    279279            my $output = $self->process_template(
    280280                                                  id            => $id,
Note: See TracChangeset for help on using the changeset viewer.