aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_session.inc.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-02-19 00:31:09 +0000
committergweltas <gweltas@piwigo.org>2004-02-19 00:31:09 +0000
commit78df1f97d366e5f9e4115c658ad91fab70717f29 (patch)
tree518126d0a8728d9a2c81155e6ce6527b74fbaf92 /include/functions_session.inc.php
parent19b4964996483b51338deedbdf1dafc6d7ec16d8 (diff)
Split of langage files
git-svn-id: http://piwigo.org/svn/trunk@364 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_session.inc.php')
-rw-r--r--include/functions_session.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_session.inc.php b/include/functions_session.inc.php
index f6b0fe46b..17991bb58 100644
--- a/include/functions_session.inc.php
+++ b/include/functions_session.inc.php
@@ -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'];