mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
MINOR Fixed notices
This commit is contained in:
parent
1e7bd37eeb
commit
7368561dc2
@ -44,9 +44,9 @@ if($db) {
|
||||
}
|
||||
|
||||
if(@$_GET['db']) {
|
||||
$enabletranslatable = $_GET['enabletranslatable'];
|
||||
$enabletranslatable = @$_GET['enabletranslatable'];
|
||||
} elseif(@$_SESSION['db']) {
|
||||
$enabletranslatable = $_SESSION['enabletranslatable'];
|
||||
$enabletranslatable = @$_SESSION['enabletranslatable'];
|
||||
} else {
|
||||
$enabletranslatable = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user