mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fix PHP 8.0 Error: Undefined constant "self"
This commit is contained in:
parent
d83f04bd49
commit
607526774f
@ -371,12 +371,12 @@ class importexport_helper_functions {
|
|||||||
$val
|
$val
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$val = preg_replace_callback( "/($c_functions)\(([^)]*)\)/i", array( self, 'c2_dispatcher') , $val );
|
$val = preg_replace_callback( "/($c_functions)\(([^)]*)\)/i", array(__CLASS__, 'c2_dispatcher') , $val );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// clean each field
|
// clean each field
|
||||||
$val = preg_replace_callback("/(\|T\{|\|TC\{|\|TCnCL\{|\|INE\{)(.*)\}/", array( self, 'strclean'), $val );
|
$val = preg_replace_callback("/(\|T\{|\|TC\{|\|TCnCL\{|\|INE\{)(.*)\}/", array(__CLASS__, 'strclean'), $val );
|
||||||
|
|
||||||
$_record[$idx] = $val;
|
$_record[$idx] = $val;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user