mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
removed deprecated pass-by-reference which caused a php warning
This commit is contained in:
parent
b0146349db
commit
5fee16c3ef
@ -416,7 +416,7 @@ final class notification {
|
|||||||
*/
|
*/
|
||||||
private function get_addresspart($_address, $_part='email') {
|
private function get_addresspart($_address, $_part='email') {
|
||||||
if(strpos($_address,'<')) { // _address contains a fullname part
|
if(strpos($_address,'<')) { // _address contains a fullname part
|
||||||
ereg('^(.*)[:space:]{0,1}<(.*)>',$_address,&$parts);
|
ereg('^(.*)[:space:]{0,1}<(.*)>',$_address, $parts);
|
||||||
$fullname = trim(trim($parts[1]),'\"');
|
$fullname = trim(trim($parts[1]),'\"');
|
||||||
$email = $parts[2];
|
$email = $parts[2];
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user