forked from extern/egroupware
fix PHP Fatal error: Call to undefined method egw_customfields::get_customfields()
This commit is contained in:
parent
74135e104a
commit
b0f4ca2399
@ -435,7 +435,7 @@ class egw_customfields implements IteratorAggregate
|
|||||||
public static function change_account_ids($app, array $ids2change)
|
public static function change_account_ids($app, array $ids2change)
|
||||||
{
|
{
|
||||||
$total = 0;
|
$total = 0;
|
||||||
if (($cfs = self::get_customfields($app, true)))
|
if (($cfs = self::get($app, true)))
|
||||||
{
|
{
|
||||||
foreach($cfs as &$data)
|
foreach($cfs as &$data)
|
||||||
{
|
{
|
||||||
@ -470,7 +470,7 @@ class egw_customfields implements IteratorAggregate
|
|||||||
public static function get_account_cfs($app)
|
public static function get_account_cfs($app)
|
||||||
{
|
{
|
||||||
$types = array();
|
$types = array();
|
||||||
if (($cfs = self::get_customfields($app, true)))
|
if (($cfs = self::get($app, true)))
|
||||||
{
|
{
|
||||||
foreach($cfs as $name => $data)
|
foreach($cfs as $name => $data)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user