"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "phprojekt/application/Default/Controllers/IndexController.php" between
PHProjekt-6.2.0.tar.gz and PHProjekt-6.2.1.tar.gz

About: PHProjekt is an application suite that supports communication and management of teams and companies. It includes a group calendar, project management, a request tracker and 12 other modules.

IndexController.php  (PHProjekt-6.2.0):IndexController.php  (PHProjekt-6.2.1)
skipping to change at line 356 skipping to change at line 356
/** /**
* Keeps the project id in zend registry or reports an error if an empty val ue is supplied. * Keeps the project id in zend registry or reports an error if an empty val ue is supplied.
* *
* @param int $projectId The project id to store. * @param int $projectId The project id to store.
* *
* @return void * @return void
*/ */
protected function _storeCurrentProjectId($projectId) protected function _storeCurrentProjectId($projectId)
{ {
if (empty($projectId)) { if (empty($projectId)) {
throw new Phprojekt_PublishedException(self::PROJECTID_REQUIRED_TEXT ); throw new Zend_Controller_Action_Exception(self::PROJECTID_REQUIRED_ TEXT, 400);
} else { } else {
Phprojekt::setCurrentProjectId($projectId); Phprojekt::setCurrentProjectId($projectId);
} }
} }
/** /**
* Add to the internal where, the filters set by the user. * Add to the internal where, the filters set by the user.
* *
* @param string $where Internal where clause. * @param string $where Internal where clause.
* *
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)