[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-git] [Dolibarr/dolibarr] eb62c1: fix undefined method getProje
From: |
Laurent Destailleur |
Subject: |
[Dolibarr-git] [Dolibarr/dolibarr] eb62c1: fix undefined method getProjectsAuthorizedForUser. |
Date: |
Sat, 07 Jan 2017 07:48:50 -0800 |
Branch: refs/heads/5.0
Home: https://github.com/Dolibarr/dolibarr
Commit: eb62c1eb0dd189189daf55e101da91f8eca6dc62
https://github.com/Dolibarr/dolibarr/commit/eb62c1eb0dd189189daf55e101da91f8eca6dc62
Author: tarrsalah <address@hidden>
Date: 2017-01-04 (Wed, 04 Jan 2017)
Changed paths:
M htdocs/projet/tasks/contact.php
M htdocs/projet/tasks/document.php
M htdocs/projet/tasks/note.php
M htdocs/projet/tasks/task.php
M htdocs/projet/tasks/time.php
Log Message:
-----------
fix undefined method getProjectsAuthorizedForUser.
When a user don't have the permission
`$user->rights->projet->all->lire`, viewing some tasks related entities
(like `tasks/contact.php?id=1&withproject=1`) cause `Call to undefined
method Task::getProjectsAuthorizedForUser()` fatal error.
The problem is caused by calling getProjectsAuthorizedForUser on $object
insted of $projectstatic.
Commit: 7f8d4deb5990bb79fc84663a1d137a823d199ea3
https://github.com/Dolibarr/dolibarr/commit/7f8d4deb5990bb79fc84663a1d137a823d199ea3
Author: Laurent Destailleur <address@hidden>
Date: 2017-01-07 (Sat, 07 Jan 2017)
Changed paths:
M htdocs/projet/tasks/contact.php
M htdocs/projet/tasks/document.php
M htdocs/projet/tasks/note.php
M htdocs/projet/tasks/task.php
M htdocs/projet/tasks/time.php
Log Message:
-----------
Merge pull request #6239 from tarrsalah/5.0
Fix undefined method getProjectsAuthorizedForUser.
Compare:
https://github.com/Dolibarr/dolibarr/compare/e6cdcfca0069...7f8d4deb5990
- [Dolibarr-git] [Dolibarr/dolibarr] eb62c1: fix undefined method getProjectsAuthorizedForUser.,
Laurent Destailleur <=