projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Notify.php
[Pman.Core]
/
Notify.php
diff --git
a/Notify.php
b/Notify.php
index
b9c9b3d
..
4e592f9
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-310,8
+310,9
@@
class Pman_Core_Notify extends Pman
function setCompany() {
$co = DB_DataObject::Factory('Companies');
if(!$co->get('code', 'MediaWatchMe')) $this->errors[] = 'Invalid Supplier Code: MediaWatchMe';
-
+
$this->company = $co->id;
+ return true;
}
function output()