diff --git a/core/modules/system/system.install b/core/modules/system/system.install index f64f3dc..8b2d4ce 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -796,11 +796,11 @@ function system_requirements($phase) { ); } } // Check if the Twig C extension is available. - if ($phase == 'runtime' && (version_compare($phpversion, 7) < 0)) { + if ($phase == 'runtime' && (version_compare($phpversion, '7.0.0') < 0)) { $url = 'http://twig.sensiolabs.org/doc/installation.html#installing-the-c-extension'; $requirements['twig_c_extension'] = [ 'title' => t('Twig C extension'), 'severity' => REQUIREMENT_INFO, ];