VacationHandler.php:

- replaced deprecated split() call with explode()
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3179951&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@962 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 14 years ago
parent 1de551320b
commit 07c21cfa07

@ -98,7 +98,7 @@ class VacationHandler {
$E_username = escape_string($this->username);
$activeFrom = date ("Y-m-d 00:00:00", strtotime ($activeFrom)); # TODO check if result looks like a valid date
$activeUntil = date ("Y-m-d 23:59:59", strtotime ($activeUntil)); # TODO check if result looks like a valid date
list(/*NULL*/,$domain) = split('@', $this->username);
list(/*NULL*/,$domain) = explode('@', $this->username);
$vacation_data = array(
'email' => $this->username,

Loading…
Cancel
Save