From: Alan Knowles Date: Fri, 17 Jun 2016 04:40:35 +0000 (+0800) Subject: RooPostTrait.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=c7cf33b1b907ac8fc4aa9bff1dfce7e89ef1c67c RooPostTrait.php --- diff --git a/RooPostTrait.php b/RooPostTrait.php index 7f4586fd..8c1f5fe6 100644 --- a/RooPostTrait.php +++ b/RooPostTrait.php @@ -241,7 +241,7 @@ trait Pman_Core_RooPostTrait { $match_total = 0; if ( $has_beforeDelete ) { - if ($xx->beforeDelete($match_ar, $this) === false) { + if ($xx->beforeDelete($match_ar, $this, $req) === false) { $errs[] = "Delete failed ({$xx->id})\n". (isset($xx->err) ? $xx->err : ''); continue;