Skip to content

Commit af42d41

Browse files
committed
fix(form): bad method name
Signed-off-by: Thierry Bugier <[email protected]>
1 parent 3e3358c commit af42d41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/form.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,9 +1938,9 @@ public static function countAvailableForm() {
19381938
$nb = 0;
19391939

19401940
if ($DB->tableExists($formTable)
1941-
&& $DB->tableExists($table_fp)
1941+
&& $DB->tableExists($formProfileTable)
19421942
&& isset($_SESSION['glpiactiveprofile']['id'])) {
1943-
$entitiesRestrict = (new DBUtils())->getEntitiesRestrictCrit(
1943+
$entitiesRestrict = (new DBUtils())->getEntitiesRestrictCriteria(
19441944
$formTable, '', '', true, false
19451945
);
19461946
$result = $DB->request([

0 commit comments

Comments
 (0)