projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb32dda
)
Pman/Roo.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 22 Oct 2010 11:06:35 +0000
(19:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 22 Oct 2010 11:06:35 +0000
(19:06 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
b4f87eb
..
2dba59b
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-568,7
+568,9
@@
class Pman_Roo extends Pman
$pk = $pk[0];
$x->whereAdd($pk .' IN ('. implode(',', $bits) .')');
- $x->find();
+ if (!$x->find()) {
+ $this->jerr("Nothing found to delete");
+ }
$errs = array();
while ($x->fetch()) {
$xx = clone($x);