diff --git a/common.php b/common.php index 89b94833..ce34d196 100644 --- a/common.php +++ b/common.php @@ -19,7 +19,10 @@ if(!defined('POSTFIXADMIN')) { # already defined if called from setup.php session_start(); - define('POSTFIXADMIN', 1); # checked in included files + define('POSTFIXADMIN', 1); # checked in included files + if(empty($_SESSION['flash'])) { + $_SESSION['flash'] = array(); + } } $incpath = dirname(__FILE__);