BUG 10620 setCaseTrackerCode function does not work SOLVED
- Incorrect condition in update logic - Fix incorrect condition
This commit is contained in:
@@ -2206,7 +2206,7 @@ function generateCode ($iDigits = 4, $sType = 'NUMERIC')
|
||||
*/
|
||||
function setCaseTrackerCode ($sApplicationUID, $sCode, $sPIN = '')
|
||||
{
|
||||
if ($sCode != '') {
|
||||
if ($sCode != '' || $sPIN != '') {
|
||||
G::LoadClass( 'case' );
|
||||
$oCase = new Cases();
|
||||
$aFields = $oCase->loadCase( $sApplicationUID );
|
||||
|
||||
Reference in New Issue
Block a user