Skip to content

Commit

Permalink
Extend conf, new fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Oct 31, 2023
1 parent 6b29aa9 commit 9cb80f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ajax/dropdownQuantity.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@

Session::checkLoginUser();

/** @var DBmysql */
global $DB;

if (isset($_POST["entity"])) {
$entity_query = [
'SELECT' => ['overconsumption_allowed', 'quantity'],
Expand Down
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ parameters:
- setup.php
paths:
- inc
- front
- ajax
- hook.php
scanDirectories:
- ../../inc
- ../../src
Expand Down

0 comments on commit 9cb80f3

Please sign in to comment.