MINOR Fixed notices

This commit is contained in:
Sean Harvey 2010-05-10 22:45:09 +00:00
parent 1e7bd37eeb
commit 7368561dc2

View File

@ -44,9 +44,9 @@ if($db) {
} }
if(@$_GET['db']) { if(@$_GET['db']) {
$enabletranslatable = $_GET['enabletranslatable']; $enabletranslatable = @$_GET['enabletranslatable'];
} elseif(@$_SESSION['db']) { } elseif(@$_SESSION['db']) {
$enabletranslatable = $_SESSION['enabletranslatable']; $enabletranslatable = @$_SESSION['enabletranslatable'];
} else { } else {
$enabletranslatable = null; $enabletranslatable = null;
} }