X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/ce951ad9579fd96a7ba185f6d7cbd99bd37b9ec4..v3.9-8-g882347cba8:/nieuws/replies.php diff --git a/nieuws/replies.php b/nieuws/replies.php index 61ccc25..f762c23 100644 --- a/nieuws/replies.php +++ b/nieuws/replies.php @@ -7,7 +7,7 @@ $pagelink = $Page.$Args; if ($_POST) { try { @mkdir($pagelink); - $target = $pagelink.'/'.date('YmdHis').':'.$User['name'].'.html'; + $target = $pagelink.'/'.date('YmdHis').':'.$User->login.'.html'; $html = nl2br(htmlspecialchars($_POST['reply'])); $html = "

$html

\n"; $written = file_put_contents($target, $html); @@ -40,7 +40,7 @@ print '
  • '; print '
    '; printf(''."\n", 'reply', - "Bericht van {$User['name']}", + "Bericht van {$User->login}", '' ); print ''."\n";