Minor code improvements

This commit is contained in:
Frederic Guillot
2016-01-16 22:29:29 -05:00
parent ff149c354e
commit 27b9b7a727
8 changed files with 11 additions and 30 deletions

View File

@@ -28,7 +28,7 @@ class ProjectUserRole extends Base
*/
public function getActiveProjectsByUser($user_id)
{
return $this->getProjectsByUser($user_id, $status = array(Project::ACTIVE));
return $this->getProjectsByUser($user_id, array(Project::ACTIVE));
}
/**