From 63d16240982134d5764a7b2122e86a2e40b24f2e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 25 Oct 2012 14:20:48 +0000 Subject: [PATCH] reverting r40662, as there is more PHP 5.3 code ($record_class::$variable) to fix --- importexport/inc/class.importexport_basic_import_csv.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/importexport/inc/class.importexport_basic_import_csv.inc.php b/importexport/inc/class.importexport_basic_import_csv.inc.php index 6c51d35214..78abab4ff4 100644 --- a/importexport/inc/class.importexport_basic_import_csv.inc.php +++ b/importexport/inc/class.importexport_basic_import_csv.inc.php @@ -137,8 +137,7 @@ abstract class importexport_basic_import_csv implements importexport_iface_impor // Record class name $app = $_definition->application; - // 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"; + $record_class = isset(static::$record_class) ? static::$record_class : "{$app}_egw_record"; // Needed for categories to work right $GLOBALS['egw_info']['flags']['currentapp'] = $app;