Skip to content

Commit

Permalink
Prevent warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed May 24, 2019
1 parent 3bf49bf commit f205ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gkm/fetch.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$query = null;

$ds = "fetchbasic";
if (isset($_GET['details']) or in_array('details', $argv)) {
if (isset($_GET['details']) or isset($argv) && in_array('details', $argv)) {
$query = query($session, 'fetch-details.xq');
$ds = "fetchdetails";
} else if (isset($_GET['master'])) {
Expand Down

0 comments on commit f205ad3

Please sign in to comment.