[Rt-commit] r12877 - in rt/branches/3.8-TESTING: .
falcone at bestpractical.com
falcone at bestpractical.com
Wed Jun 4 14:05:43 EDT 2008
Author: falcone
Date: Wed Jun 4 14:05:42 2008
New Revision: 12877
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/share/html/Admin/Groups/Modify.html
Log:
r33758 at ketch: falcone | 2008-06-04 14:04:34 -0400
* make some warnings stop
Modified: rt/branches/3.8-TESTING/share/html/Admin/Groups/Modify.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Admin/Groups/Modify.html (original)
+++ rt/branches/3.8-TESTING/share/html/Admin/Groups/Modify.html Wed Jun 4 14:05:42 2008
@@ -66,11 +66,11 @@
<tr><td align="right">
<&|/l&>Name</&>:
</td>
-<td><input name="Name" value="<%$Group->Name%>" /></td>
+<td><input name="Name" value="<%$Group->Name||''%>" /></td>
</tr>
<tr>
<td align="right">
-<&|/l&>Description</&>:</td><td colspan="3"><input name="Description" value="<%$Group->Description%>" size="60" /></td>
+<&|/l&>Description</&>:</td><td colspan="3"><input name="Description" value="<%$Group->Description||''%>" size="60" /></td>
</tr>
% my $CFs = $Group->CustomFields;
% while (my $CF = $CFs->Next) {
@@ -145,7 +145,7 @@
}
#we're asking about enabled on the web page but really care about disabled.
-if ($Enabled == 1) {
+if (defined $Enabled && $Enabled == 1) {
$Disabled = 0;
}
else {
More information about the Rt-commit
mailing list