if (PLUGIN_ATTACH_DELETE_ADMIN_ONLY || $this->age) {
return attach_info('err_adminpass');
} else if (PLUGIN_ATTACH_PASSWORD_REQUIRE &&
- md5($pass) != $this->status['pass']) {
+ md5($pass) !== $this->status['pass']) {
return attach_info('err_password');
}
}
if (PLUGIN_ATTACH_DELETE_ADMIN_ONLY || $this->age) {
return attach_info('err_adminpass');
} else if (PLUGIN_ATTACH_PASSWORD_REQUIRE &&
- md5($pass) != $this->status['pass']) {
+ md5($pass) !== $this->status['pass']) {
return attach_info('err_password');
}
}
while ($end_position < $count) {
$matches = array();
if (preg_match('/^(\-{1,2})(?!\-)(.*)$/', $postdata[$end_position++], $matches)
- && md5($matches[2]) == $reply_hash)
+ && md5($matches[2]) === $reply_hash)
{
$b_reply = TRUE;
$level = strlen($matches[1]) + 1;