From b6785e45ad3a19e2270b733625b2d9e74ddecfde Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 25 Oct 2012 07:42:59 +0000 Subject: [PATCH] * ImportExport: fix to support PHP 5.2, changed from static::$record_class to self::$record_class, it seems not to be used anyway --- importexport/inc/class.importexport_basic_import_csv.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_basic_import_csv.inc.php b/importexport/inc/class.importexport_basic_import_csv.inc.php index 78abab4ff4..6c51d35214 100644 --- a/importexport/inc/class.importexport_basic_import_csv.inc.php +++ b/importexport/inc/class.importexport_basic_import_csv.inc.php @@ -137,7 +137,8 @@ abstract class importexport_basic_import_csv implements importexport_iface_impor // Record class name $app = $_definition->application; - $record_class = isset(static::$record_class) ? static::$record_class : "{$app}_egw_record"; + // RB: changed from static::$record_class to self::$record_class to still be able to support PHP 5.2, it seems not to be used anyway + $record_class = isset(self::$record_class) ? self::$record_class : "{$app}_egw_record"; // Needed for categories to work right $GLOBALS['egw_info']['flags']['currentapp'] = $app;