Changeset 7352 for trunk/src/includes/admin/converters/Kunena1.php
- Timestamp:
- 11/14/2025 04:17:43 PM (6 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/converters/Kunena1.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/Kunena1.php
r6670 r7352 464 464 public function authenticate_pass($password, $serialized_pass) { 465 465 $pass_array = unserialize($serialized_pass); 466 return ( $pass_array['hash'] == md5(md5($password) . $pass_array['salt']));466 return ( md5(md5($password) . $pass_array['salt']) == $pass_array['hash'] ); 467 467 } 468 468 … … 474 474 */ 475 475 public function callback_forum_type( $status = 0 ) { 476 if ( $status == 0) {476 if ( 0 == $status ) { 477 477 $status = 'category'; 478 478 } else {
Note: See TracChangeset
for help on using the changeset viewer.