Skip to content

Commit e36ccb7

Browse files
authored
fix: correct typo arrya to array in getPlatforms cast (line 3557)
1 parent 444bceb commit e36ccb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/api/xmlrpc/v1/xmlrpc.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3554,7 +3554,7 @@ public function addTestCaseToTestPlan($args) {
35543554
$opt = array(
35553555
'outputFormat' => 'mapAccessByID'
35563556
);
3557-
$platformSet = (arrya)$this->tplanMgr->getPlatforms( $tplan_id, $opt );
3557+
$platformSet = (array)$this->tplanMgr->getPlatforms( $tplan_id, $opt );
35583558
$hasPlatforms = (count( $platformSet ) > 0);
35593559
$hasPlatformIDArgs = $this->_isParamPresent( self::$platformIDParamName );
35603560

0 commit comments

Comments
 (0)