Ignore:
Timestamp:
Oct 15, 2008, 10:58:36 PM (16 years ago)
Author:
patdenice
Message:

Merge from trunk 2752:

  • change mysql_escape_string function (deprecated) by mysql_real_escape_string.
  • Correction on install.tpl (link color).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/functions_user.inc.php

    r2572 r2753  
    116116      array(
    117117        $conf['user_fields']['id'] => $next_id,
    118         $conf['user_fields']['username'] => mysql_escape_string($login),
     118        $conf['user_fields']['username'] => mysql_real_escape_string($login),
    119119        $conf['user_fields']['password'] => $conf['pass_convert']($password),
    120120        $conf['user_fields']['email'] => $mail_address
     
    717717  global $conf;
    718718
    719   $username = mysql_escape_string($username);
     719  $username = mysql_real_escape_string($username);
    720720
    721721  $query = '
Note: See TracChangeset for help on using the changeset viewer.