Zeile 227 | Zeile 227 |
---|
*/ function check_forum_password_archive($fid, $pid=0) {
|
*/ function check_forum_password_archive($fid, $pid=0) {
|
global $forum_cache;
| global $forum_cache, $mybb;
|
if(!is_array($forum_cache)) {
| if(!is_array($forum_cache)) {
|
Zeile 260 | Zeile 260 |
---|
$password = $forum_cache[$fid]['password']; if($password) {
|
$password = $forum_cache[$fid]['password']; if($password) {
|
if(!$mybb->cookies['forumpass'][$fid] || ($mybb->cookies['forumpass'][$fid] && md5($mybb->user['uid'].$password) != $mybb->cookies['forumpass'][$fid]))
| if(!$mybb->cookies['forumpass'][$fid] || ($mybb->cookies['forumpass'][$fid] && md5($mybb->user['uid'].$password) !== $mybb->cookies['forumpass'][$fid]))
|
{ archive_error_no_permission(); } } }
|
{ archive_error_no_permission(); } } }
|
?>
| |