Ignore:
Timestamp:
Oct 15, 2008, 10:56:23 PM (16 years ago)
Author:
patdenice
Message:
  • change mysql_escape_string function (deprecated) by mysql_real_escape_string.
  • Correction on install.tpl (link color).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_user.inc.php

    r2572 r2752  
    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.