In condition requirement sites, while executing function condition_validate($condition), the content of object $condition->parameters['condition_requirements_sites']['sites'] is instead of the name of the virtual site we want to validate, there's also an empty array like highlighted in the image attached. The effect of this empty array is the function in_array() in line 165 of file condition_requirements.module always returns true. Even when we are viewing the page with the multisite not in the list. This bug can be worked around by simply set parameter of function in_array() strict to true in line 165 of the file condition_requirements.module as follow:

function condition_requirements_sites(&$condition, $context = array()) {
	return ($context['operator'] == CONDITION_NONE xor in_array(substr(conf_path(), 6), $context['sites'], true));
}
CommentFileSizeAuthor
bug_conditions.jpg59.16 KBagungsuyono
Support from Acquia helps fund testing for Drupal Acquia logo