Changeset 1056 in ExiteCMS for branches/PLi-Fusion/register.php


Ignore:
Timestamp:
11/04/07 13:31:01 (5 years ago)
Author:
root
Message:

Merged trunk revision 1031:1055 into the PLi-Fusion branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PLi-Fusion/register.php

    r1027 r1056  
    134134 
    135135        if ($settings['display_validation'] == "1") { 
    136             if (!check_captcha($_POST['captcha_encode'], $_POST['captcha_code'])) { 
     136            if (!isset($_POST['captcha_encode']) || !isset($_POST['captcha_code']) || !check_captcha($_POST['captcha_encode'], $_POST['captcha_code'])) { 
    137137                $error .= $locale['410']."<br />\n"; 
    138138            } 
Note: See TracChangeset for help on using the changeset viewer.