Commit 18f79161 authored by mikestefff's avatar mikestefff Committed by Chris Johnson

Issue #2113611 by mstef: [Fatal error] hook_requirements() not returning anything

parent 3761c6ab
......@@ -12,6 +12,7 @@ function context_requirements($phase) {
$requirements['php_context']['description'] = $t('Your PHP installation is too old. Context requires at least PHP %version or installation of the json library (%path)', array('%version' => '5.1.0', '%path' => 'http://pecl.php.net/package/json'));
$requirements['php_context']['severity'] = REQUIREMENT_ERROR;
}
return $requirements;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment