projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e184b88
)
DataObjects/Office.php
author
edward
<edward@roojs.com>
Wed, 20 Jul 2016 07:03:28 +0000
(15:03 +0800)
committer
edward
<edward@roojs.com>
Wed, 20 Jul 2016 07:03:28 +0000
(15:03 +0800)
DataObjects/Office.php
patch
|
blob
|
history
diff --git
a/DataObjects/Office.php
b/DataObjects/Office.php
index
7afaf5e
..
334649e
100644
(file)
--- a/
DataObjects/Office.php
+++ b/
DataObjects/Office.php
@@
-53,15
+53,13
@@
class Pman_Core_DataObjects_Office extends DB_DataObject
function beforeDelete($dependants_array, $roo)
{
- print_R($dependants_array);exit;
- print_R('run?>>>');exit;
if (count($dependants_array) != 1) {
//$roo->jerr("more than one dependant type....");
return true; // standard error message.
}
$p = DB_DAtaObject::Factory('Person');
-
+ print_R($p);exit;
if (!is_a($dependants_array[0], get_class($p))) {
$roo->jerr("dep is not a person..");
return true;