Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b4df565a
authored
Oct 15, 2018
by
Kunj Gupta
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fixed - App is crashing in variable form screen.
parent
fd3b90db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
app/src/main/java/com/vsoft/servicenow/ui/CatalogueVariableScreen.java
app/src/main/java/com/vsoft/servicenow/ui/CatalogueVariableScreen.java
View file @
b4df565a
...
...
@@ -1258,8 +1258,9 @@ public class CatalogueVariableScreen extends HandleNotificationActivity {
private
CatalogueVariable
getVariableForName
(
String
name
)
{
for
(
int
i
=
0
;
i
<
mCatalogueVariableList
.
size
();
i
++)
{
if
(
mCatalogueVariableList
.
get
(
i
).
getName
().
equals
(
name
))
return
mCatalogueVariableList
.
get
(
i
);
CatalogueVariable
catalogueVariable
=
mCatalogueVariableList
.
get
(
i
);
if
(
catalogueVariable
!=
null
&&
name
!=
null
&&
catalogueVariable
.
getName
().
equals
(
name
))
return
catalogueVariable
;
}
return
null
;
}
...
...
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