Skip to content

Commit

Permalink
fix(form): bad method name
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Aug 22, 2019
1 parent 3e3358c commit af42d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1938,9 +1938,9 @@ public static function countAvailableForm() {
$nb = 0;

if ($DB->tableExists($formTable)
&& $DB->tableExists($table_fp)
&& $DB->tableExists($formProfileTable)
&& isset($_SESSION['glpiactiveprofile']['id'])) {
$entitiesRestrict = (new DBUtils())->getEntitiesRestrictCrit(
$entitiesRestrict = (new DBUtils())->getEntitiesRestrictCriteria(
$formTable, '', '', true, false
);
$result = $DB->request([
Expand Down

0 comments on commit af42d41

Please sign in to comment.