From ec80b686262ed3f5de7cbfdf5bfaf1f639251501 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 15 Apr 2007 11:40:12 +0000 Subject: [PATCH] php5.2+ requires the interfaces also to declare the default params (or not to use them in implementations) --- importexport/inc/class.iface_egw_record.inc.php | 2 +- importexport/inc/class.iface_export_record.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/importexport/inc/class.iface_egw_record.inc.php b/importexport/inc/class.iface_egw_record.inc.php index a38399b789..3be44bbc2e 100644 --- a/importexport/inc/class.iface_egw_record.inc.php +++ b/importexport/inc/class.iface_egw_record.inc.php @@ -33,7 +33,7 @@ interface iface_egw_record * * @param string $_identifier */ - public function __construct( $_identifier ); + public function __construct( $_identifier='' ); /** * magic method to set attributes of record diff --git a/importexport/inc/class.iface_export_record.inc.php b/importexport/inc/class.iface_export_record.inc.php index 90e0bd71c4..97aabf47ef 100644 --- a/importexport/inc/class.iface_export_record.inc.php +++ b/importexport/inc/class.iface_export_record.inc.php @@ -40,7 +40,7 @@ interface iface_export_record * @return bool * @access public */ - public function __construct( $_handle, $_charset, array $_options ); + public function __construct( $_handle, $_charset, array $_options=array() ); /** * exports a record into resource of handle