mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 09:58:04 +02:00
Make sure selects is an array, if passed
This commit is contained in:
parent
e61bb1abf7
commit
39faba482e
@ -257,7 +257,7 @@ class importexport_import_csv implements importexport_iface_import_record { //,
|
|||||||
* @param $selects Array of select values to be automatically parsed
|
* @param $selects Array of select values to be automatically parsed
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public static function convert(Array &$record, Array $fields = array(), $appname = null, $selects = array()) {
|
public static function convert(Array &$record, Array $fields = array(), $appname = null, Array $selects = array()) {
|
||||||
// Automatic conversions
|
// Automatic conversions
|
||||||
if($appname) {
|
if($appname) {
|
||||||
if(!self::$cf_parse_cache[$appname]) {
|
if(!self::$cf_parse_cache[$appname]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user