Kaydet (Commit) d46d79f2 authored tarafından Damjan Jovanovic's avatar Damjan Jovanovic

Calculate substring indexes properly, avoiding an unnecessary IndexOutOfBoundsException.

Patch by: me
üst 447564d5
......@@ -138,7 +138,7 @@ public class FieldColumn
*/
private String getOnlyFieldName(String _DisplayFieldName, String _CommandName)
{
return _DisplayFieldName.substring(_CommandName.length() + 1, _DisplayFieldName.length());
return _DisplayFieldName.substring(_CommandName.length() + 1);
}
public static String composeDisplayFieldName(String _sCommandName, String _sFieldName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment