projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d701bdb
)
Notify.php
author
Elliott Polk
<elliott.polk@thekaroshiworkshop.com>
Thu, 31 May 2012 06:42:23 +0000
(14:42 +0800)
committer
Elliott Polk
<elliott.polk@thekaroshiworkshop.com>
Thu, 31 May 2012 06:42:23 +0000
(14:42 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
e794bc8
..
b9c9b3d
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-309,9
+309,8
@@
class Pman_Core_Notify extends Pman
function setCompany() {
$co = DB_DataObject::Factory('Companies');
- if(!$co->get('code', 'MediaWatchMe')) {
- $this->errors[] = 'Invalid Supplier Code: MediaWatchMe';
- }
+ if(!$co->get('code', 'MediaWatchMe')) $this->errors[] = 'Invalid Supplier Code: MediaWatchMe';
+
$this->company = $co->id;
}