X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=lib%2FNDWeb%2FController%2FUsers.pm;h=9d70fc2626585fc1389e9c9d37ac0de5d0cc7b8c;hb=2a703f7250ea25f2f556eb25b644dcb7268f92ce;hp=781fc73e58e95a8e8b3cd774fb2238f37c95a287;hpb=a7501170f1ef98a5959db048b92db2e4a12179a1;p=ndwebbie.git diff --git a/lib/NDWeb/Controller/Users.pm b/lib/NDWeb/Controller/Users.pm index 781fc73..9d70fc2 100644 --- a/lib/NDWeb/Controller/Users.pm +++ b/lib/NDWeb/Controller/Users.pm @@ -101,7 +101,7 @@ sub updateUser : Local { } $dbh->do(qq{UPDATE users SET $column = ? WHERE uid = ? } ,undef,$value,$user->{uid}); - $log->execute($c->user->id,"HC changed $column from $c->{$column} to $value for user: $user->{uid} ($user->{username})"); + $log->execute($c->user->id,"HC changed $column from $user->{$column} to $value for user: $user->{uid} ($user->{username})"); }elsif ($param =~ /^gr:(\d+)$/){ my $query; if ($c->req->param($param) eq 'remove'){ @@ -182,7 +182,7 @@ sub postmail : Local { ); if (sendmail %mail) { - $c->flash(ok => ); + $c->flash(ok => \@emails); }else { $c->flash(error => $Mail::Sendmail::error); $c->flash(subject => $c->req->param('subject'));