Changeset 636 for trunk/Modules/User/Options.php
- Timestamp:
- Dec 11, 2013, 12:15:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/Options.php
r578 r636 74 74 if($NewPass == $NewPass2) 75 75 { 76 $DbResult = $ System->Database->query('SELECT `Pass`, '.$this->System->User->CryptPasswordSQL('"'.$OldPass.'"', '`Salt`').' AS `Hash` FROM `User` WHERE `ID`= '.$this->System->User->Id);76 $DbResult = $this->System->Database->query('SELECT `Pass`, '.$this->System->User->CryptPasswordSQL('"'.$OldPass.'"', '`Salt`').' AS `Hash` FROM `User` WHERE `ID`= '.$this->System->User->Id); 77 77 $DbRow = $DbResult->fetch_assoc(); 78 78 if($DbRow['Hash'] == $DbRow['Pass']) … … 97 97 function Show() 98 98 { 99 $this->Title = T('User settings'); 99 100 $Output = ''; 100 101 if($this->System->User->Licence(LICENCE_USER))
Note:
See TracChangeset
for help on using the changeset viewer.