summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-08-27 17:26:49 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-05 07:26:15 +0200
commitbc7e830670503a7b51e5a89aedbbcbb78e14abc8 (patch)
tree40ebe7c666493a31efad5f63cac7838a0f88143b /NEWS
parent
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi22
1 files changed, 18 insertions, 4 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 3e23d0808..4e4009dc7 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -wT
+#!/usr/bin/perl -wT
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index afa5b45b..f621e204 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- rpm-4.12 support:
+ o rename 'no_suggests' parameter as 'no_recommends'
+
Version 7.32 - 5 September 2014
- add some missing methods, allows to do urpmf --qf '%sourcerpm:%requires'
class='add'>+ my $expr = "";
+ if ($matchvalue eq 'userid') {
+ if ($matchstr) {
+ my $stored_matchstr = $matchstr;
+ detaint_natural($matchstr)
+ || ThrowUserError('illegal_user_id', {userid => $stored_matchstr});
+ }
+ $expr = "profiles.userid";
+ } elsif ($matchvalue eq 'realname') {
+ $expr = "profiles.realname";
+ } else {
+ $expr = "profiles.login_name";
+ }
if ($matchtype eq 'regexp') {
$query .= $dbh->sql_regexp($expr, '?');
$matchstr = '.' unless $matchstr;
@@ -752,7 +766,7 @@ sub check_user {
# Copy incoming list selection values from CGI params to template variables.
sub mirrorListSelectionValues {
if (defined($cgi->param('matchtype'))) {
- foreach ('matchstr', 'matchtype', 'grouprestrict', 'groupid') {
+ foreach ('matchvalue', 'matchstr', 'matchtype', 'grouprestrict', 'groupid') {
$vars->{'listselectionvalues'}{$_} = $cgi->param($_);
}
}