fetchmail.php:

- change error_reporting() to exclude E_NOTICE.
  This is a workaround for
  https://sourceforge.net/p/postfixadmin/bugs/322/
  until fetchmail.php is converted to FetchmailHandler



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1687 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 10 years ago
parent a26e25a03a
commit bf620f5b5f

@ -37,6 +37,11 @@ require_once('common.php');
authentication_require_role('admin');
# workaround for https://sourceforge.net/p/postfixadmin/bugs/322/
# TODO: convert fetchmail.php to FetchmailHandler
$old_error_reporting = error_reporting();
error_reporting($old_error_reporting ^ E_NOTICE);
$extra_options = 0;
if ($CONF['fetchmail_extra_options'] == 'YES') $extra_options = 1;

Loading…
Cancel
Save