Ignore:
Timestamp:
Jan 15, 2004, 6:06:45 PM (21 years ago)
Author:
gweltas
Message:

Correction of php warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_3/register.php

    r105 r280  
    7171$vtp->addSession( $handle, 'text' );
    7272$vtp->setVar( $handle, 'text.name', 'login' );
    73 $vtp->setVar( $handle, 'text.value', $_POST['login'] );
     73if (isset( $_POST['login']))
     74        $vtp->setVar( $handle, 'text.value', $_POST['login'] );
    7475$vtp->closeSession( $handle, 'text' );
    7576$vtp->closeSession( $handle, 'line' );
     
    9596$vtp->addSession( $handle, 'text' );
    9697$vtp->setVar( $handle, 'text.name', 'mail_address' );
    97 $vtp->setVar( $handle, 'text.value', $_POST['mail_address'] );
     98if (isset( $_POST['mail_address']))
     99        $vtp->setVar( $handle, 'text.value', $_POST['mail_address'] );
    98100$vtp->closeSession( $handle, 'text' );
    99101$vtp->closeSession( $handle, 'line' );
Note: See TracChangeset for help on using the changeset viewer.