projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2a8dfd
)
DataObjects/Ipshead.php
author
Alan Knowles
<alan@roojs.com>
Mon, 30 Mar 2015 04:59:35 +0000
(12:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 30 Mar 2015 04:59:35 +0000
(12:59 +0800)
DataObjects/Ipshead.php
patch
|
blob
|
history
diff --git
a/DataObjects/Ipshead.php
b/DataObjects/Ipshead.php
index
49dd4cb
..
d8d8087
100644
(file)
--- a/
DataObjects/Ipshead.php
+++ b/
DataObjects/Ipshead.php
@@
-82,7
+82,7
@@
class Pman_Xtuple_DataObjects_Ipshead extends DB_DataObject
$roo->jerr("This price list is assigned to a customer - please change that customer to another price list first");
}
$ass = DB_DataObject::factory('ipsiteminfo');
- $ass->query("DELETE FROM ipsiteminfo WHERE ipsiteminfo_ipshead_id = {$this->
id
}");
+ $ass->query("DELETE FROM ipsiteminfo WHERE ipsiteminfo_ipshead_id = {$this->
pid()
}");
return true;
}