Skip to content

Commit

Permalink
Fixed wrong class
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Nov 12, 2010
1 parent 58c9e18 commit c99f59c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions phpmyfaq/admin/user.php
Expand Up @@ -173,7 +173,7 @@
// delete user confirmation
if ($userAction == 'delete_confirm') {
$message = '';
$user = new PMF_User();
$user = new PMF_User_CurrentUser();

$userId = PMF_Filter::filterInput(INPUT_POST, 'user_list_select', FILTER_VALIDATE_INT, 0);
if ($userId == 0) {
Expand All @@ -190,8 +190,7 @@
<h2><?php print $text['header']; ?></h2>
<div id="user_confirmDelete">
<fieldset>
<legend><?php print $text['delUser']; ?></legend>
<strong><?php print $user->getLogin(); ?></strong>
<legend><?php print $text['delUser']; ?> <strong><?php print $user->getLogin(); ?></strong></legend>
<p><?php print $text['delUser_question']; ?></p>
<form action ="?action=user&amp;user_action=delete" method="post">
<input type="hidden" name="user_id" value="<?php print $userId; ?>" />
Expand Down

0 comments on commit c99f59c

Please sign in to comment.