Legend:
- Unmodified
- Added
- Removed
-
user.php
r18 r20 51 51 // Zkontroluj přihlášení 52 52 $Query = $this->Database->select($this->TableUserOnline, '*', 'SessionId="'.$SID.'"'); 53 $Row = $Query->fetch_a rray();53 $Row = $Query->fetch_assoc(); 54 54 if($Row['User'] != 0) 55 55 { … … 115 115 if($DbResult->num_rows > 0) 116 116 { 117 $Row = $DbResult->fetch_a rray();117 $Row = $DbResult->fetch_assoc(); 118 118 if($Hash == $Row['Password']) 119 119 { … … 133 133 if($Query->num_rows > 0) 134 134 { 135 $Row = $Query->fetch_a rray();135 $Row = $Query->fetch_assoc(); 136 136 if($Row['Password'] != $Password) $Result = BAD_PASSWORD; 137 137 else if($Row['Locked'] == 1) $Result = ACCOUNT_LOCKED; … … 167 167 if($DbResult->num_rows > 0) 168 168 { 169 $Row = $DbResult->fetch_a rray();169 $Row = $DbResult->fetch_assoc(); 170 170 $NewPassword = substr(sha1(strtoupper($Row['Name'])), 0, 7); 171 171 … … 185 185 if($DbResult->num_rows > 0) 186 186 { 187 $Row = $DbResult->fetch_a rray();187 $Row = $DbResult->fetch_assoc(); 188 188 $NewPassword2 = substr(sha1(strtoupper($Row['Name'])), 0, 7); 189 189 if(($NewPassword == $NewPassword2) and ($Hash == $Row['Password']))
Note:
See TracChangeset
for help on using the changeset viewer.