* Fix api helper bug.
This commit is contained in:
@@ -79,7 +79,7 @@ class bugsEntry extends entry
|
||||
if(!$productID and isset($this->requestBody->product)) $productID = $this->requestBody->product;
|
||||
if(!$productID) return $this->sendError(400, 'Need product id.');
|
||||
|
||||
$fields = 'title,project,execution,openedBuild,assignedTo,pri,module,severity,type,story,task,mailto,keywords,steps';
|
||||
$fields = 'title,project,execution,openedBuild,assignedTo,pri,module,severity,type,story,task,mailto,keywords,steps,uid';
|
||||
$this->batchSetPost($fields);
|
||||
|
||||
$this->setPost('product', $productID);
|
||||
|
||||
@@ -162,7 +162,7 @@ class helper extends baseHelper
|
||||
/* The requestTypes are: GET, PATH_INFO2, PATH_INFO */
|
||||
if($config->requestType == 'GET')
|
||||
{
|
||||
$link = '/index' . substr($link, $pos);
|
||||
$link = $config->webRoot . 'index' . substr($link, $pos);
|
||||
}
|
||||
elseif($config->requestType == 'PATH_INFO2')
|
||||
{
|
||||
@@ -204,7 +204,7 @@ function formatTime($time, $format = '')
|
||||
/**
|
||||
* Fix for session error.
|
||||
*
|
||||
* @param int $class
|
||||
* @param int $class
|
||||
* @access protected
|
||||
* @return void
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user