Changeset 217 for quests/includes/global.php
- Timestamp:
- Jan 12, 2008, 10:40:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/includes/global.php
r216 r217 15 15 $_SESSION['Pass'] = $_POST['LoginPass']; 16 16 17 $Line = mysql_fetch_array($Database->SQLCommand("SELECT ID FROM user WHERE user = '".$_SESSION['User']."'"));17 $Line = mysql_fetch_array($Database->SQLCommand("SELECT ID FROM user WHERE LOWER(user) = LOWER('".$_SESSION['User']."')")); 18 18 $_SESSION['UserID'] = $Line['ID']; 19 19 } … … 32 32 $Pass = $_SESSION['Pass']; 33 33 34 $Line = mysql_fetch_array($Database->SQLCommand("SELECT * FROM user WHERE user = '$User'"));34 $Line = mysql_fetch_array($Database->SQLCommand("SELECT * FROM user WHERE LOWER(user) = LOWER('$User')")); 35 35 if (!$Line) { 36 36 return false;
Note:
See TracChangeset
for help on using the changeset viewer.