mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
MINOR Supress warnings
This commit is contained in:
parent
7368561dc2
commit
c69c3c212b
@ -137,8 +137,8 @@ class CMSWorkflowSiteConfigDecorator extends DataObjectDecorator {
|
||||
$file = self::get_config_file();
|
||||
|
||||
$content = null;
|
||||
while(!feof($file)) {
|
||||
$content .= fread($file, 10);
|
||||
while(!@feof($file)) {
|
||||
$content .= @fread($file, 10);
|
||||
}
|
||||
|
||||
fclose($file);
|
||||
|
Loading…
Reference in New Issue
Block a user