Patch #1694788 : add role checking
This commit is contained in:
parent
61c2ca5231
commit
4f1d27f4b4
|
@ -490,7 +490,9 @@ public abstract class Info extends CDialog
|
|||
no = -2;
|
||||
}
|
||||
log.fine("#" + no + " - " + (System.currentTimeMillis()-start) + "ms");
|
||||
if (no > 1000)
|
||||
//Armen: add role checking (Patch #1694788 )
|
||||
MRole role = MRole.getDefault();
|
||||
if (role.isQueryMax(no))
|
||||
return ADialog.ask(p_WindowNo, this, "InfoHighRecordCount", String.valueOf(no));
|
||||
return true;
|
||||
} // testCount
|
||||
|
|
Loading…
Reference in New Issue