Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
31edd119
Commit
31edd119
authored
Feb 19, 2005
by
bugzilla%glob.com.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 282510: Argument "" isn't numeric when modifying group
Patch by Byron Jones <bugzilla@glob.com.au> r,a=justdave
parent
b9402d3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
editgroups.cgi
editgroups.cgi
+3
-2
edit.html.tmpl
template/en/default/admin/groups/edit.html.tmpl
+2
-1
No files found.
editgroups.cgi
View file @
31edd119
...
...
@@ -599,7 +599,7 @@ sub doGroupChanges {
$b
=~
/^oldgrp-(\d+)$/
;
my
$v
=
$1
;
my
$grp
=
$cgi
->
param
(
"grp-$v"
)
||
0
;
if
((
$
cgi
->
param
(
"oldgrp-$v"
)
!=
$grp
)
&&
(
$v
!=
$gid
))
{
if
((
$
v
!=
$gid
)
&&
(
$cgi
->
param
(
"oldgrp-$v"
)
!=
$grp
))
{
$chgs
=
1
;
if
(
$grp
!=
0
)
{
SendSQL
(
"INSERT INTO group_group_map
...
...
@@ -613,7 +613,8 @@ sub doGroupChanges {
}
my
$bless
=
$cgi
->
param
(
"bless-$v"
)
||
0
;
if
(
$cgi
->
param
(
"oldbless-$v"
)
!=
$bless
)
{
my
$oldbless
=
$cgi
->
param
(
"oldbless-$v"
);
if
((
defined
$oldbless
)
and
(
$oldbless
!=
$bless
))
{
$chgs
=
1
;
if
(
$bless
!=
0
)
{
SendSQL
(
"INSERT INTO group_group_map
...
...
template/en/default/admin/groups/edit.html.tmpl
View file @
31edd119
...
...
@@ -154,9 +154,10 @@
</td>
[% ELSE %]
<td>
<input type="hidden" name="oldbless-[% group.grpid FILTER html %]" value="0">
</td>
<td>
<input type="hidden" name="oldgrp-[% group.grpid FILTER html %]" value="">
<input type="hidden" name="oldgrp-[% group.grpid FILTER html %]" value="
0
">
</td>
[% END %]
<td align="left" class="groupname">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment