summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/core/drupal/environment.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/core/drupal/environment.inc b/commands/core/drupal/environment.inc
index 33dd2ff..3c150df 100644
--- a/commands/core/drupal/environment.inc
+++ b/commands/core/drupal/environment.inc
@@ -55,6 +55,7 @@ function drush_check_module_dependencies($modules, $module_info) {
// check for version incompatibility
foreach ($dependencies as $dependency_name => $v) {
$current_version = $module_info[$dependency_name]->info['version'];
+ $current_version = str_replace(DRUPAL_CORE_COMPATIBILITY . '-', '', $current_version);
$incompatibility = drupal_check_incompatibility($v, $current_version);
if (!is_null($incompatibility)) {
$status[$key]['error'] = array(