mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
Fixed notice level error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50040 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f7474bf059
commit
f640e12242
@ -192,7 +192,8 @@ class UserDefinedForm_Controller extends Page_Controller {
|
|||||||
$_SERVER['HTTP_REFERER'] = "";
|
$_SERVER['HTTP_REFERER'] = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$fields->push( new HiddenField( "Referrer", "", $_SERVER['HTTP_REFERER'] ) );
|
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
|
||||||
|
$fields->push( new HiddenField( "Referrer", "", $referer ) );
|
||||||
|
|
||||||
// Build actions
|
// Build actions
|
||||||
$actions = new FieldSet(
|
$actions = new FieldSet(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user