Skip to content

Commit

Permalink
Add extra check to make sure array indexes exist
Browse files Browse the repository at this point in the history
  • Loading branch information
p.ernst committed Dec 13, 2017
1 parent a3cbf74 commit 39991f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions export.php
Expand Up @@ -77,8 +77,9 @@

$transContent = $GLOBALS['locale']->translateCharset($content, 'UTF-8', $GLOBALS['locale']->getExportCharset());

if($_REQUEST['members'] == true)
$filename .= '_'.'members';
if(!empty($_REQUEST['members'])){
$filename .= '_'.'members';
}
///////////////////////////////////////////////////////////////////////////////
//// BUILD THE EXPORT FILE
ob_clean();
Expand Down

0 comments on commit 39991f6

Please sign in to comment.