Changeset 1078


Ignore:
Timestamp:
Jun 16, 2007, 3:20:24 PM (14 years ago)
Author:
Dominic Hargreaves
Message:

make_cgi_object: "0" is a valid value; don't lose this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Test.pm

    r1063 r1078  
    191191                      )
    192192                  ) {
    193         $q->param( -name => $param, -value => $args{$param} || "" );
     193        if (defined $args{$param}) {
     194            $q->param( -name => $param, -value => $args{$param} );
     195        } else {
     196            $q->param( -name => $param, -value => '' );
     197        }
    194198    }
    195199    $ENV{REMOTE_ADDR} = "127.0.0.1";
Note: See TracChangeset for help on using the changeset viewer.