diff --git a/lib/api/xmlrpc/v1/xmlrpc.class.php b/lib/api/xmlrpc/v1/xmlrpc.class.php index 0b07e4d99b..0e899accc2 100644 --- a/lib/api/xmlrpc/v1/xmlrpc.class.php +++ b/lib/api/xmlrpc/v1/xmlrpc.class.php @@ -3554,7 +3554,7 @@ public function addTestCaseToTestPlan($args) { $opt = array( 'outputFormat' => 'mapAccessByID' ); - $platformSet = (arrya)$this->tplanMgr->getPlatforms( $tplan_id, $opt ); + $platformSet = (array)$this->tplanMgr->getPlatforms( $tplan_id, $opt ); $hasPlatforms = (count( $platformSet ) > 0); $hasPlatformIDArgs = $this->_isParamPresent( self::$platformIDParamName );