Commit 03f39d7e authored by cividesk's avatar cividesk

Corrects PHP Notice

parent 82a63752
......@@ -3,4 +3,4 @@
/bin/config.php
/bin/json
/public/json
/archive
/archive
\ No newline at end of file
......@@ -7,7 +7,7 @@ $tabs = array(
'issues' => array('title' => 'Issues tracking', 'iframe' => "https://app.klipfolio.com/published/2ef307a2fe4ddcf05826ee84ecc6bdb8/issues-tracking"),
);
$tab = reset(array_keys($tabs));
if (!empty($_REQUEST['tab']) || in_array($_REQUEST['tab'], array_keys($tabs))) {
if (isset($_REQUEST['tab']) && in_array($_REQUEST['tab'], array_keys($tabs))) {
$tab = $_REQUEST['tab'];
}
?>
......
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