From: Sam Hemelryk Date: Tue, 18 Jan 2011 07:34:43 +0000 (+0800) Subject: Merge branch 'MDL-26007_20_wip_enverror' of git://github.com/skodak/moodle X-Git-Tag: v2.0.2~182 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=07d4c7ac6e1305a3a2e975d1402c2da71e2f0d89;hp=dcad74e406c4f6bd89159252a004ea40a464dda1 Merge branch 'MDL-26007_20_wip_enverror' of git://github.com/skodak/moodle --- diff --git a/lib/environmentlib.php b/lib/environmentlib.php index fde432cbba3..f530b043604 100644 --- a/lib/environmentlib.php +++ b/lib/environmentlib.php @@ -716,7 +716,8 @@ function environment_check_php_settings($version, $env_select) { $result = new environment_results('php_setting'); $result->setStatus(false); $result->setErrorCode(NO_VERSION_DATA_FOUND); - return $result; + $results[] = $result; + return $results; } /// Extract the php_setting part