mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
mlanthaler: Bugfix: Added isset() to prevent E_NOTICE error.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42023 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
fd795f83bb
commit
76797c02a6
@ -81,7 +81,7 @@ class Form extends ViewableData {
|
||||
}
|
||||
|
||||
// load data in from previous submission upon error
|
||||
if($errorInfo['data'])
|
||||
if(isset($errorInfo['data']))
|
||||
$this->loadDataFrom($errorInfo['data']);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user