X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/a034b7a3f5b363f74a47c9f20bfa0cf4f2988b34..621fc2f9638a1a92aa8535310e7852de5542f11e:/widget/contact.php diff --git a/widget/contact.php b/widget/contact.php index 6e04005..b7e073f 100644 --- a/widget/contact.php +++ b/widget/contact.php @@ -2,7 +2,7 @@ $error = NULL; if ($_POST) { global $User; - if ($User) { + if ($User->login) { $_REQUEST['login'] = $User->login; $_REQUEST['email'] = $_REQUEST['email'] ?: $User->email; }