git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page: promote news article class to represent all pages
[minimedit.git]
/
contact.php
diff --git
a/contact.php
b/contact.php
index 7ffa40926f520546ec9567c99705b94a91800800..b50537517d7b68952f50922a53c244b7763e8e91 100644
(file)
--- a/
contact.php
+++ b/
contact.php
@@
-2,8
+2,8
@@
$error = NULL;
if ($_POST) {
global $User;
- if (
!empty($User)
) {
- $_REQUEST['login'] = $User
['name']
;
+ if (
$User
) {
+ $_REQUEST['login'] = $User
->login
;
}
$error = mailform($_REQUEST);
if (!empty($error)) {