RooPostTrait.php
authorAlan Knowles <alan@roojs.com>
Fri, 17 Jun 2016 04:40:35 +0000 (12:40 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 17 Jun 2016 04:40:35 +0000 (12:40 +0800)
RooPostTrait.php

index 7f4586f..8c1f5fe 100644 (file)
@@ -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;