Commit 4ae33dd6 authored by Jyhem's avatar Jyhem

[FIX] Avoid error NOTICEs

parent c0bb4a38
......@@ -128,11 +128,11 @@ if (isset($_REQUEST["features"])) {
if (!empty($_REQUEST['tabs'])) {
$_SESSION["tabbed_admin_features"] = $_REQUEST['tabs']=='on'?'n':'' ;
} else {
if( $_REQUEST["feature_tabs"] ) { // Verifies that form was submitted
if( !empty($_REQUEST["feature_tabs"]) ) { // Verifies that form was submitted
$_SESSION["tabbed_admin_features"] = '' ;
}
}
$smarty->assign('tabs', $_SESSION["tabbed_admin_features"]);
$smarty->assign('tabs', empty($_SESSION["tabbed_admin_features"])?'':'n');
$smarty->assign('php_major_version', substr(PHP_VERSION, 0, strpos(PHP_VERSION, '.')));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment