Changeset 7352 for trunk/src/includes/admin/converters/e107v1.php
- Timestamp:
- 11/14/2025 04:17:43 PM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/converters/e107v1.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/e107v1.php
r7006 r7352 490 490 public function authenticate_pass( $password, $serialized_pass ) { 491 491 $pass_array = unserialize( $serialized_pass ); 492 return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ));492 return ( md5( md5( $password ). $pass_array['salt'] ) == $pass_array['hash'] ); 493 493 } 494 494 … … 500 500 */ 501 501 public function callback_forum_type( $status = 0 ) { 502 if ( $status == 0) {502 if ( 0 == $status ) { 503 503 $status = 'category'; 504 504 } else {
Note: See TracChangeset
for help on using the changeset viewer.