WebGUI 3.0.3 release

This commit is contained in:
JT Smith 2002-01-25 01:56:00 +00:00
parent 2845282544
commit d1c1445ea1
8 changed files with 27 additions and 13 deletions

View file

@ -491,7 +491,7 @@ sub www_viewMessageLog {
if ($data[2] ne "") {
$row[$i] .= '</a>';
}
$row[$i] .= '</td><td class="tableData">'.epochToHuman($data[3],"%m/%d/%Y").'</td></tr>';
$row[$i] .= '</td><td class="tableData">'.epochToHuman($data[3],"%m/%d/%Y @ %H:%m%p").'</td></tr>';
$i++;
}
$sth->finish;

View file

@ -266,7 +266,7 @@ sub www_editUserSave {
my ($error, $uid, $encryptedPassword, $passwordStatement);
if (WebGUI::Privilege::isInGroup(3)) {
($uid) = WebGUI::SQL->quickArray("select userId from users where username='$session{form}{username}'");
unless ($uid) {
if ($uid == $session{form}{uid} || $uid < 1) {
if ($session{form}{identifier} ne "password") {
$encryptedPassword = Digest::MD5::md5_base64($session{form}{identifier});
$passwordStatement = ', identifier='.quote($encryptedPassword);