Ticket #3919 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 years ago

Core - SQL INSERT Causes Users to be Deleted from the Database

Reported by: GameGamer43 Assigned to: p_lindheimer
Priority: major Milestone: 2.6
Component: Core Version: 2.6-branch
Keywords: Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

On line 2421 in module core, there is a syntax error causing any changes to a user to delete the user from the database. The following line needs to be changed from:

$sql .= "'".$password."'";

to

$sql .= "'".$password."',";

Change History

10/09/09 17:20:09 changed by GameGamer43

Sorry should have added that this is in functions.inc.php

10/09/09 17:24:40 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [8402]) fixes #3919 syntax error in sql command needs comma