fixed import
This commit is contained in:
parent
85bf6865cc
commit
1d8a6b3e28
|
@ -1,6 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
use LAM\TYPES\ConfiguredType;
|
use LAM\TYPES\ConfiguredType;
|
||||||
use function LAM\TYPES\getScopeFromTypeId;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
$Id$
|
$Id$
|
||||||
|
@ -409,7 +408,7 @@ function getAvailablePDFFields($typeId) {
|
||||||
$mods = $_SESSION['config']->get_AccountModules($typeId);
|
$mods = $_SESSION['config']->get_AccountModules($typeId);
|
||||||
$return = array();
|
$return = array();
|
||||||
for ($i = 0; $i < sizeof($mods); $i++) {
|
for ($i = 0; $i < sizeof($mods); $i++) {
|
||||||
$module = moduleCache::getModule($mods[$i], getScopeFromTypeId($typeId));
|
$module = moduleCache::getModule($mods[$i], \LAM\TYPES\getScopeFromTypeId($typeId));
|
||||||
$fields = $module->get_pdfFields();
|
$fields = $module->get_pdfFields();
|
||||||
$return[$mods[$i]] = array();
|
$return[$mods[$i]] = array();
|
||||||
if (is_array($fields)) {
|
if (is_array($fields)) {
|
||||||
|
|
Loading…
Reference in New Issue