Peer review 11501, be careful with the login being replaced
Remove SQL code and Replace for Query Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2214883
This commit is contained in:
parent
4a552b9877
commit
94812caebc
|
@ -81,6 +81,9 @@ public class MRequestType extends X_R_RequestType
|
|||
MRequestType retValue = new Query(ctx, I_R_RequestType.Table_Name, whereClause, null)
|
||||
.setOrderBy("IsDefault DESC, AD_Client_ID DESC")
|
||||
.first();
|
||||
|
||||
if (retValue != null && !retValue.isDefault())
|
||||
retValue = null;
|
||||
|
||||
return retValue;
|
||||
} // get
|
||||
|
|
Loading…
Reference in New Issue