Skip to content

Commit 093c136

Browse files
committed
fix popuplevel should be "-1" when not present
1 parent 8ac2c25 commit 093c136

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/src/main/java/com/genexus/internet/GXNavigationHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ static public String getUrlComponent(String url, String key)
148148

149149
static public String getUrlPopupLevel(String url)
150150
{
151-
return getUrlComponent( url, POPUP_LEVEL);
151+
String result = getUrlComponent( url, POPUP_LEVEL);
152+
return result.isEmpty() ? "-1":result;
152153
}
153154
}

0 commit comments

Comments
 (0)