projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
11d5365
)
DataObjects/Core_company.php
author
edward
<edward@roojs.com>
Fri, 15 Sep 2017 03:23:36 +0000
(11:23 +0800)
committer
edward
<edward@roojs.com>
Fri, 15 Sep 2017 03:23:36 +0000
(11:23 +0800)
DataObjects/Core_company.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_company.php
b/DataObjects/Core_company.php
index
34380bc
..
b913629
100644
(file)
--- a/
DataObjects/Core_company.php
+++ b/
DataObjects/Core_company.php
@@
-446,7
+446,7
@@
class Pman_Core_DataObjects_Core_Company extends DB_DataObject
{
$affects = array();
{
$affects = array();
- $all_links = $GLOBALS['_DB_DATAOBJECT']['LINKS'][$this->_database];
+ $all_links =
method_exists($this, 'databaseLinks') ? $x->databaseLinks() :
$GLOBALS['_DB_DATAOBJECT']['LINKS'][$this->_database];
foreach($all_links as $tbl => $links) {
foreach($links as $col => $totbl_col) {
foreach($all_links as $tbl => $links) {
foreach($links as $col => $totbl_col) {