From 4f631d61d693801b739825226f25b840544c9a5e Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mon, 1 Jun 2009 14:56:29 +0000 Subject: [PATCH] list-domain.php - fix undefined variable warning if no domains exist (globally or for a domain admin) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@670 a1433add-5e2c-0410-b055-b7f2511e0802 --- list-domain.php | 1 + 1 file changed, 1 insertion(+) diff --git a/list-domain.php b/list-domain.php index c46ccc8e..a34fb7a4 100644 --- a/list-domain.php +++ b/list-domain.php @@ -72,6 +72,7 @@ $query = " "; $result = db_query($query); +$domain_properties = array(); while ($row = db_array ($result['result'])) { $domain_properties[$row['domain']] = $row; }