Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: possible bug in register.php ?  (Read 2798 times)

0 Members and 1 Guest are viewing this topic.

rrwwxx

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 51
possible bug in register.php ?
« on: September 09, 2007, 05:52:28 pm »

I came across this line in register.php of cpg1.4:
Code: [Select]
    $sql = "SELECT user_active user_active, user_email, user_name, user_password " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_actkey = '$act_key' " . "LIMIT 1";

I think there is one user_active too many? I am not quite sure so I better leave it like it is, but it doesn't look correct to me.

cu,
Roli
Logged

Nibbler

  • Guest
Re: possible bug in register.php ?
« Reply #1 on: September 09, 2007, 05:58:01 pm »

It's technically correct, just unnecessary.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 20 queries.