Changeset 204

Show
Ignore:
Timestamp:
07/02/07 22:10:57 (2 years ago)
Author:
dez
Message:

Bodges a fix to the real name validation check, which currently fails for no apparent reason

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • admin.lib.php

    r203 r204  
    888888                        $this->error = _("No Username Provided"); 
    889889                } 
     890 
    890891                //sanitise name, perhaps a bit too strict? 
    891892                if (trim($_POST['name'])) { 
    892                         if (eregi("^([a-z]+([:space:][a-z]*))$",trim($_POST['name']))) { 
     893//                      if (eregi("^([a-z]+([:space:][a-z]*))$",trim($_POST['name']))) { 
     894// Not working, so changed to something that does work 
     895 
     896                if (isset($_POST['name'])) { 
     897 
    893898                                $name = trim($_POST['name']); 
    894899                        }