Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa41e5a

Browse files
committed
Stopped using warning suppression.
1 parent 134dbb5 commit aa41e5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static function init($options = [])
6565
} else if (isset($_GET['invalidate']) && $self->getOption('allow_invalidate')) {
6666
echo '{ "success": "' . ($self->resetCache($_GET['invalidate']) ? 'yes' : 'no') . '" }';
6767
} else {
68-
echo json_encode($self->getData(@$_GET['section'] ?: null));
68+
echo json_encode($self->getData((empty($_GET['section']) ? null : $_GET['section'])));
6969
}
7070
exit;
7171
} else if (isset($_GET['reset']) && $self->getOption('allow_invalidate')) {

0 commit comments

Comments
 (0)