projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DataObjects/Core_notify_recur.php
[Pman.Core]
/
DataObjects
/
Projects.php
diff --git
a/DataObjects/Projects.php
b/DataObjects/Projects.php
index
190ad2d
..
64ce9b4
100644
(file)
--- a/
DataObjects/Projects.php
+++ b/
DataObjects/Projects.php
@@
-306,7
+306,9
@@
class Pman_Core_DataObjects_Projects extends DB_DataObject
*/
function userProjects($au, $data='id') // COMPANY BASED!!!!
{
+
$id = (int) $au->company_id;
+
$this->whereAdd("
(client_id= $id) OR (agency_id= $id)
");