IDEMPIERE-1555 fix old typo (#1133)

This commit is contained in:
Carlos Ruiz 2022-01-15 17:04:45 +01:00 committed by GitHub
parent f2b70f7747
commit 35d426bb9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class DocumentLink extends A implements EventListener<Event> {
public void onEvent(Event event) throws Exception {
if(event.getTarget() instanceof DocumentLink){
DocumentLink documentLink = (DocumentLink)event.getTarget();
if (documentLink.getAdTableId() > 0 && documentLink.getAdTableId() > 0)
if (documentLink.getAdTableId() > 0 && documentLink.getRecordId() > 0)
AEnv.zoom(documentLink.getAdTableId(), documentLink.getRecordId());
}
}