From 7954f1c2ca0a82ecf1c5d1db30dafa9567cefae7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 9 Mar 2015 16:04:55 +0000 Subject: [PATCH] fix PHP Fatal error: Call to undefined method egw_customfields::get_customfields() --- phpgwapi/inc/class.egw_customfields.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.egw_customfields.inc.php b/phpgwapi/inc/class.egw_customfields.inc.php index 6d59ab78e8..0e8f8046fc 100755 --- a/phpgwapi/inc/class.egw_customfields.inc.php +++ b/phpgwapi/inc/class.egw_customfields.inc.php @@ -435,7 +435,7 @@ class egw_customfields implements IteratorAggregate public static function change_account_ids($app, array $ids2change) { $total = 0; - if (($cfs = self::get_customfields($app, true))) + if (($cfs = self::get($app, true))) { foreach($cfs as &$data) { @@ -470,7 +470,7 @@ class egw_customfields implements IteratorAggregate public static function get_account_cfs($app) { $types = array(); - if (($cfs = self::get_customfields($app, true))) + if (($cfs = self::get($app, true))) { foreach($cfs as $name => $data) {