mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
Split of langage files
git-svn-id: http://piwigo.org/svn/trunk@364 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -75,7 +75,7 @@ function session_create( $username )
|
||||
}
|
||||
// 2. retrieving id of the username given in parameter
|
||||
$query = 'select id';
|
||||
$query.= ' from '.PREFIX_TABLE.'users';
|
||||
$query.= ' from '.USERS_TABLE;
|
||||
$query.= " where username = '".$username."';";
|
||||
$row = mysql_fetch_array( mysql_query( $query ) );
|
||||
$user_id = $row['id'];
|
||||
|
||||
Reference in New Issue
Block a user