Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#1725 closed defect (fixed)

objUser->getUsers() mit Limit funktioniert nicht wenn kein User gefunden wurde

Reported by: kramer Owned by: comvation
Priority: normal Milestone: Contrexx 3.1 Hotfix 1
Component: Core Version: 3.1
Severity: normal Keywords:


Wenn ein Limit angegeben wird bei der Methode !getUsers() dann stürzt das Script ab, sofern es keine Benuzter findet.

Zeile 1265 in der User.class.php

sollte so sein:

$this->filtered_search_count = ($objUserId === false ? 0 : $objUserId->RecordCount());

Change History (2)

comment:1 Changed 7 years ago by kramer

  • Resolution set to fixed
  • Status changed from new to closed

(In Merged revision(s) 27116 from trunk: Framework (fixed #1725): searching users with getUsers() with a limitation did not work because RecordCount?() is not available on a non-object

comment:2 Changed 6 years ago by michael.ritter

  • Milestone changed from Contrexx 3.1 SP1 to Contrexx 3.1 Hotfix 1
Note: See TracTickets for help on using tickets.