Store the users Wine version in the users table.
This commit is contained in:
committed by
Jeremy Newman
parent
1d8da74b77
commit
4dec5cf83e
@@ -56,9 +56,9 @@ function show_user_fields()
|
||||
$ext_email = $user->lookup_email($_SESSION['current']->userid);
|
||||
|
||||
include(BASE."include/"."form_edit.php");
|
||||
$version = "unspecified";
|
||||
echo "<tr><td> wine version </td><td>";
|
||||
make_bugzilla_version_list("version", $version);
|
||||
|
||||
echo "<tr><td> Wine version </td><td>";
|
||||
make_bugzilla_version_list("CVSrelease", $CVSrelease);
|
||||
echo "</td></tr>";
|
||||
|
||||
}
|
||||
@@ -83,7 +83,7 @@ if($_POST)
|
||||
addmsg("The Passwords you entered did not match.", "red");
|
||||
}
|
||||
|
||||
if ($user->update($_SESSION['current']->userid, $str_passwd, $_REQUEST['ext_realname'], $_REQUEST['ext_email']))
|
||||
if ($user->update($_SESSION['current']->userid, $str_passwd, $_REQUEST['ext_realname'], $_REQUEST['ext_email'], $_REQUEST['CVSrelease']))
|
||||
{
|
||||
addmsg("Preferences Updated", "green");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user